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 · 1 comment
Open

No handle animation when updating slider range #1264

monterarty opened this issue Feb 19, 2024 · 1 comment

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant