history.scrollRestoration 'manual' is broken
Categories
(Core :: DOM: Navigation, defect, P3)
Tracking
()
People
(Reporter: impressive.webs, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
Steps to reproduce:
Visit the following page: https://www.impressivewebs.com/demo-files/scroll-restoration-manual/
This page sets the history.scrollRestoration property to 'manual'.
Scroll down the page to the link in item 86. Navigate to another page, then use the back button to return to the previous page.
Actual results:
The previous page's scroll position is restored (i.e. item 86 is visible again).
Expected results:
The previous page's scroll position should be reset and not restored to the previous scroll position.
Updated•4 years ago
|
Comment 1•4 years ago
|
||
Alphan: can you please have a brief look at this and triage it?
Comment 2•4 years ago
•
|
||
I tried FF 50.a1/61.a1.
The behavior is the same as what we have now.
Visit the following page: https://www.impressivewebs.com/demo-files/scroll-restoration-manual/
This page sets the history.scrollRestoration property to 'manual'.
Scroll down the page to the link in item 86.
history.scrollRestoration is 'manual'
Navigate to another page.
history.scrollRestoration is 'auto'
I think Olli may know more about it.
The API is implemented in bug 1155730.
This symptom may be related to bug 12370755.
Updated•4 years ago
|
Comment 3•4 years ago
|
||
Is session restore failing to restore history.scrollRestoration 'manual'?
P3/S3
I can reproduce this bug, though enabling Fission makes the bug go away. Is Fission fixing the bug or masking it because Fission disables bfcache or has a history bug? Should we track this bug for Fission?
(In reply to Alphan Chen [:alchen] from comment #2)
I tried FF 50.a1/61.a1.
The behavior is the same as what we have now.
I'm removing the regression
tag based on Alphan's testing of old versions.
Comment 4•2 years ago
|
||
This is working as expect in browsers which support bfcache.
Description
•