-
-
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
Handle isn't exactly centred over the left hand pip on Safari/iOS #1029
Comments
This is related to this compositing issue. noUiSlider uses CSS transforms to place its handles (rather than absolute positioning) for performance reasons. To translate the slider values to a position on the slider, a Because transforms are relative to an elements own size (not its parent), every I had originally hoped to use a width of Unfortunately, the issue seems to have been fixed in Chrome, but not in Safari (yet). |
I've just released noUiSlider 15.0.0, which fixes this. I've added a (manual) test which helps demonstrate both this issue and #987. Thanks for contributing, @langsharpe! |
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. |
To reproduce:-
If you look closely, the center of the handle is not directly over the pip. If you slide the handle over to the right-hand side the handle aligns perfectly with the pip for 100.
Safari 13.0.2 and Safari on iOS 9.0.3 and 13.1 and all have the issue. Chrome 78.0.3904.70 and Firefox 70 (both on OSX) don't have this issue.
I'm sorry to be so picky. I'm restyling the handle to be smaller and it is more noticeable in our application which is why I'm searching for a solution.
Thank you for all the work you have put into this library. Let me know if there is any way I can assist.
The text was updated successfully, but these errors were encountered: