-
Notifications
You must be signed in to change notification settings - Fork 402
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
onValuesChangeFinish() makes slider to stop after one date #278
Comments
Classic. Just after writing down the issue, I found the right combination. I would expect onValuesChangeFinish() could let just do the side-effect action without changing any values behavior internally, but oh well, this will do afterall:
Cheers |
Hm, reopening the issue, seems there is something weird indeed.
And this is called from:
If I comment out Any advice? |
I try to implement a multi-slider with two values. It worked fine until I wanted to process and update values after the change.
I started using
onValuesChangeFinish()
, tried theonValuesChange()
as well. If I set these functions and keep them empty, it works. If I start to change my own variable (not used in the slider) as insetPeakStartDate(addDays(minDate, values[0]));
it starts to jump back to the initial position after I release the slider. Tried setting the values manually throughpeakSliderValues
variable, but it didn't help as well. Am I missing something?Thanks
The text was updated successfully, but these errors were encountered: