[scroll-behavior] missing effect on history traversal
Reported by
h...@jonjohnjohnson.com,
Apr 9 2018
|
||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3383.0 Safari/537.36 Steps to reproduce the problem: 1. Open test case 2. Click both the "top" and "bottom" links a few times noticing how the document smoothly scrolls between the top and bottom anchors. 3. Use the back and forward buttons in the browsers UI, notice how there is no smooth behavior. What is the expected behavior? According to the spec and authors, all types of navigation, including history traversal should adhere to the value of the scroll-behavior property. https://github.com/w3c/csswg-drafts/issues/2454 What went wrong? No smooth scrolling when either using the browsers forward/back buttons OR programmatically interacting with the history interface, thought 'scroll-behavior: smooth' is set. Did this work before? No Does this work in other browsers? N/A Chrome version: 67.0.3383.0 Channel: canary OS Version: OS X 10.12.6 Flash Version:
,
Apr 11 2018
Reporter@ Thanks for the issue. Tested this issue on Mac OS 10.12.6 and Windows 10 on the reported version 67.0.3383.0 and the latest Canary 67.0.3394.0 and unable to reproduce the issue. On launching the given html page and clicking on the Top,bottom links, can observe smooth scrolling on the page. Can observe the same behaviour on clicking the forward,Back buttons on the page. Attached is the screen cast for reference. Request you to retry the issue on a new chrome profile without any Flags/extensions and update the thread with the observations. Thanks..
,
Apr 11 2018
susan.boorgula@chromium.org According to the spec author (https://github.com/w3c/csswg-drafts/issues/2454) when you click the back and forward buttons, the browser should exhibit the same "smooth" scrolling behavior as was shown when you clicked the top/bottom links. In your video it shows the exact issue. The back/forward browser buttons just instantly jump the scroll position, instead of smoothly scrolling to them. When you say, "Can observe the same behaviour on clicking the forward,Back buttons on the page" you must not have been watching your own video. Please rewatch and notice the "smooth" is not there, in other words, it's not the same behavior.
,
Apr 11 2018
Thank you for providing more feedback. Adding the requester to the cc list. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Apr 12 2018
,
Apr 14 2018
Just for reference, firefox was missing the same behavior and here's their corresponding ticket -> bugzilla.mozilla.org/show_bug.cgi?id=1452825
,
Dec 17
Just commenting to let you know firefox fixed/shipped this bug in their implementation. |
||||
►
Sign in to add a comment |
||||
Comment 1 by krajshree@chromium.org
, Apr 10 2018