dynamicweb / swiffy-slider

Super fast carousel and slider with touch for optimized websites running in modern browsers.
MIT License
250 stars 29 forks source link

No loop in Chromium with zoom/scaling #43

Closed pneumotube closed 2 years ago

pneumotube commented 2 years ago

The loop stops working when the browser is zoomed out or in (and with some zoom levels it still loops) or when OS is set up to interface scaling. Maybe it has something to do with grid-auto-columns.

Applies to at least Chrome, Edge.

nicped commented 2 years ago

I cannot reproduce that on the examples pages: https://swiffyslider.com/examples/. Tried 110, 125, 150, 200 and 300% zoom

Can you on that page? Using what gear? What zoom?

pneumotube commented 2 years ago

No loop in Chrome 102 and 104 on 90%, 105%, 115% (**5% are not the standard Chrome zoom settings though).

nicped commented 2 years ago

Good catch. That is too weird. For now I will not look into it. Can see it is funny things with changing pixel density virtual screen widths and I am afraid it would require too much JS to fix a rare an not-important issue. Cannot zoom my Chrome to 105% But can repo at 90%

pneumotube commented 2 years ago

Okay, no problem.

Thanks to Swiffy Slider, I went back from custom to 100% UI scaling and enabled animation in the OS :-D

nicped commented 2 years ago

Feel free to debug and create a pull request :-)