Going back from an AMP search result doesn't retain scroll position and sometimes appears to reload the page |
||||||||||||
Issue descriptionChrome Version: 58.0.3019.0 (screencast is from 56, but same behavior in 58) OS: iOS What steps will reproduce the problem? (1) Search Google for, e.g., "news". (2) Scroll down some. (3) Click an AMP search result. (4) Tap the back button. What is the expected result? The AMP page disappears with an animation, returning you to the Google search results page without passing through a loading state and retaining your scroll position. This works in Safari. What happens instead? Either the AMP page disappears with an animation or the search results page loads like a normal navigation. Either way, scroll position is lost.
,
Feb 27 2017
This is when the link to the AMP page is not near the top of the search results.
,
Feb 27 2017
The location of the link doesn't seem to matter for me (but losing scroll position becomes more noticeable the lower down it is).
,
Feb 27 2017
Assigning to Kurt, who worked on scroll position restoration.
,
May 17 2017
,
May 17 2017
+ danyao, since AMP pages are loaded in iframes
,
May 18 2017
,
Jul 12 2017
,
Sep 29 2017
This may be related to crbug.com/747361. Maybe we didn't correctly save the scroll position of the SRP or we didn't restore it correctly. In M63, I can't reproduce the issue consistently. Most of the time, the scroll position on SRP is restored correctly. However, it seems that losing the scroll position is correlated with a long load going back to SRP. So I wonder if the bug only affects slow-back, where we initiate a reload, instead of using WKBackForwardList to navigate back.
,
Sep 29 2017
,
Sep 14
,
Oct 26
,
Oct 26
,
Oct 26
|
||||||||||||
►
Sign in to add a comment |
||||||||||||
Comment 1 by sdy@chromium.org
, Feb 27 2017