scroll-snap doesn't respect |enable_scroll_animator| preference |
||||
Issue descriptionChrome Version : 72.0.3626.14 OS Version: All URLs (if applicable) : https://snap.glitch.me/carousel.html What steps will reproduce the problem? 1. Launch Chrome with --disable-smooth-scrolling What is the expected result? Releasing the scroller on a non-snap location should immediately snap. What happens instead of that? The scroller smoothly animates to the snap location This flag is used by system-wide settings to disable animations so we should respect it for scroll snapping as well.
,
Dec 18
I can take a look at it.
,
Dec 19
,
Jan 4
David, I am looking into this issue right now and noticed that the programmatic scrolls don't respect |enable_scroll_animator| either. Should we respect the preference for all the programmatic scrolls as well, or should we just fix for the snap scrolls?
,
Jan 4
Yes, I think if scroll_animator is disabled then we should never do smooth scrolls, so we should respect the preference for all programmatic scrolls. |
||||
►
Sign in to add a comment |
||||
Comment 1 by bokan@chromium.org
, Dec 18Labels: OS-Android OS-Chrome OS-Linux OS-Mac OS-Windows