-
Notifications
You must be signed in to change notification settings - Fork 231
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
onAfterChange called with old values #201
Comments
For now you can use |
|
Works perfectly now, thanks! |
Hi! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
on a controlled 2-values slider, onAfterChange is getting called with old values(from before the change).
Desired Behaviour:
onAfterChange should be passed new values, representing the slider after the change is finished (I think?)
CodeSandbox
Try changing slider values. then, change react-slider to v1.0.11 and try again. different results.
![Edit zillow/react-slider](https://camo.githubusercontent.com/97cbe82b1619b42e1f78fce9db09104b932a9da1fd37751f4d9c41f4fe350241/68747470733a2f2f636f646573616e64626f782e696f2f7374617469632f696d672f706c61792d636f646573616e64626f782e737667)
The text was updated successfully, but these errors were encountered: