-
-
Notifications
You must be signed in to change notification settings - Fork 659
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
update
event fires for all handles when one is changed with a key press
#960
Comments
Looks like the rationale for the multiple updates was already questioned here: |
This is a mistake on my end, |
As per the rationale behind firing update events: The idea is that calling Thanks for pointing this out, because I'm now realizing that keyboard interaction allows for this same effect: handle |
This is fixed in noUiSlider 13.1.3. Many thanks for contributing, @eoghanmurray! Much appreciated. |
Chuffed to have turned out to be useful! |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
With multiple handles, moving one of them using the keyboard causes an
update
event to fire on all 3 handles.Expected output upon moving handle number 2 with keyboard:
Actual output:
This causes a bug with my solution in #957 when trying to move handle number 2 back past the margin of handle number 1; the event handler for handle number 1 gets executed first and modifies the position of handle number 2 such that when the
update
event for handle number 2 subsequently fires, there's nothing to do.The text was updated successfully, but these errors were encountered: