-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Marks do not correctly re-render on state change #183
Comments
Any updates on this? |
<Range
ref={(e) => {
e?.calculateMarkOffsets()
}}
/> This is a workaround that worked for me, sometimes the lib cannot calculate correct offsets for some reason. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Having trouble dynamically updating marks on the line. My goal is to conditionally render marks on a timeline. Our domain is around a year, with each step representing a minute.
After updating the
marks
state variable, therenderMark
function does not seem to correctly render.If I resize the parent container, the component updates and the marks suddenly appear.
The text was updated successfully, but these errors were encountered: