leongersen / noUiSlider

noUiSlider is a lightweight, ARIA-accessible JavaScript range slider with multi-touch and keyboard support. It is fully GPU animated: no reflows, so it is fast; even on older devices. It also fits wonderfully in responsive designs and has no dependencies.
https://refreshless.com/nouislider/
MIT License
5.66k stars 659 forks source link

Handle flying away #1152

Closed wnabil closed 3 years ago

wnabil commented 3 years ago

I noticed an issue with the translate value that its multiplied by 10 for some reason and when removing the multiplication it works fine, any idea what is this multiplication for ? image

https://github.com/leongersen/noUiSlider/blob/0d3fc23e322d1902c8834cbe9179f9aeaee3b771/src/nouislider.ts#L2567

leongersen commented 3 years ago

Did you update from a previous version of noUiSlider? This scaling was introduced (809eb82) in 14.0.0 and fixes #987. If you are using a custom stylesheet you'll need to incorporate this change there as well.

wnabil commented 3 years ago

@leongersen I am using version 15.2.0, and no custom styles at all i simply imported the css file image

leongersen commented 3 years ago

In that case I don't really have enough information in your original question to help you debug this. Could you add a code sample to show the issue?

wnabil commented 3 years ago

@leongersen the problem is from the creativetim now ui angular pro kit https://github.com/creativetimofficial/ct-now-ui-kit-pro-angular no matter what I do to fix it via the CSS it doesn't work until I remove the 10 multiplication from the library and sadly cant share it because I'm using a paid plugin

github-actions[bot] commented 2 years ago

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.