New issue
Advanced search Search tips

Issue 916284 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Android , Windows , Chrome , Mac
Pri: 3
Type: Bug

Blocking:
issue 497851



Sign in to add a comment

scroll-snap doesn't respect |enable_scroll_animator| preference

Project Member Reported by bokan@chromium.org, Dec 18

Issue description

Chrome 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. 

 
Cc: sunyunjia@chromium.org majidvp@chromium.org
Labels: OS-Android OS-Chrome OS-Linux OS-Mac OS-Windows
Could one of you please triage?
Blocking: 497851
Owner: sunyunjia@chromium.org
Status: Assigned (was: Untriaged)
I can take a look at it.
Labels: Hotlist-Polish
Cc: -sunyunjia@chromium.org bokan@chromium.org
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?
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