Closed xconverge closed 2 years ago
The slider component used in the live demo does not have the same issue, so I think this is a integration issue of the component and not the library/component itself https://codyhouse.co/ds/components/app/accessible-img-compare-slider
When I zoom in to 110% on Brave/Chromium on Linux, all the sliders get stuck on the left side.
When I zoom in to 110% on Brave/Chromium on Linux, all the sliders get stuck on the left side.
For me they dont get "stuck" they snap to the left side but then moving the mouse (even though the cursor is in a way different place than the drag icon) still does somewhat work, I just run out of screen real estate to slide
A workaround is to refresh the page after zooming in. Not sure what the best way to fix this right now. Adding proper zoom support for each image would probably make the most sense.
Quite short notes from me here - (1) If you zoom in and refresh the page - the sliders disappear. (2) In general zoom out works fine for me, but with some values the issue also occurs (the same as described).
If you're on chrome on a macbook, you can also pinch to Zoom on with the trackpad and the slider works fine doing it thst way
Zooming in should be much more intuitive and reliable now. You can even go fullscreen!
I have a high res monitor so I zoomed in my browser window to 160% and the cursor position math seems to be a bit wonky and jumpy as you try to adjust the slider