New issue
Advanced search Search tips

Issue 673149 link

Starred by 6 users

Issue metadata

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



Sign in to add a comment

div "overflow-y: scroll" position of element not maintained when navigating back

Reported by anar.bab...@gmail.com, Dec 11 2016

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36

Steps to reproduce the problem:
1. Visit https://www.harrowcn.org.uk/
2. On main page scroll down list of organizations and click on any link to open an organization page
3. On new page click back

What is the expected behavior?
Scrolling position on this list of organization is maintained.

What went wrong?
Scrollbar position is reset to the top.

Did this work before? N/A 

Chrome version: 55.0.2883.87  Channel: stable
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version: Shockwave Flash 23.0 r0

This works fine with Firefox.
 
Same behaviour in Chrome version 54.

Comment 2 by ajha@chromium.org, Dec 12 2016

Components: -UI Blink>Scroll
Labels: M-55
Labels: prestable-55.0.2883.87
Labels: M-57 OS-Linux OS-Mac
Status: Untriaged (was: Unconfirmed)
Able to reproduce the issue on win 10,Ubuntu 14.04 and Mac 10.11.6 using 55.0.2883.87.
This is a non-regression issue since M 35.0.1849.0.

Note: FireFox 49.0.1 is working fine.
Cc: japhet@chromium.org
Labels: -Type-Bug -Pri-2 Pri-3 Type-Feature
AFAIK, Chrome has never supported scroll position restoration for inner scrollers (only main frame and sub-frames). So this is a new feature request not a regression.

Firefox and Safari have this feature but I believe it depends on their BFCache. For example in Safari, if you navigate away more than one page and then go back it does not restore the position. 

japhet@ do you know if there is any effort to implement something like bfcache in Chrome?

Comment 6 by bokan@chromium.org, Dec 22 2016

Cc: bokan@chromium.org
Cc: -japhet@chromium.org majidvp@chromium.org
Owner: japhet@chromium.org
Status: Assigned (was: Untriaged)

Comment 8 by japhet@chromium.org, Jan 10 2017

We've talked about adding a bfcache Someday, but it's likely to be a lot more complex than the old WebKit implementation if it's going to work with the site isolation efforts.
Cc: japhet@chromium.org
 Issue 98831  has been merged into this issue.

Sign in to add a comment