Skip to content
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

No handle animation when updating slider range #1264

Open
monterarty opened this issue Feb 19, 2024 · 2 comments
Open

No handle animation when updating slider range #1264

monterarty opened this issue Feb 19, 2024 · 2 comments
Labels
Bug Confirmed bugs Feature Feature requests/suggestions

Comments

@monterarty
Copy link

Hello!

When updating the slider range, it does not move smoothly, please tell me how to fix this?

https://codepen.io/VyacheslavY/pen/MWxxBrd

@monterarty
Copy link
Author

monterarty commented Feb 19, 2024

Im fix this

.noUi-horizontal.change-range .noUi-origin { transition: all 300ms ease; }

formatSlider.classList.add('change-range'); setTimeout(() => { formatSlider.classList.remove('change-range'); }, 300)

but I think this is not a good solution

@leongersen
Copy link
Owner

Updating the slider option forces the slider to reconsider where all handles should be. Your use-case is valid; this is arguably a bug/oversight.

@leongersen leongersen added Bug Confirmed bugs Feature Feature requests/suggestions labels Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Confirmed bugs Feature Feature requests/suggestions
Projects
None yet
Development

No branches or pull requests

2 participants