Scroll positions are not restored after reloading when I temporarily set 'manual' as a ScrollRestoration value
Reported by
falsand...@gmail.com,
Aug 10 2016
|
||
Issue description
UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2826.0 Safari/537.36
Steps to reproduce the problem:
1. Run the following script.
```ts
void setTimeout(() =>
window.history.scrollRestoration = 'manual',
0);
void window.addEventListener('unload', () =>
window.history.scrollRestoration = 'auto', true);
```
2. Scroll.
3. Reload.
What is the expected behavior?
Scroll positions are restored.
What went wrong?
Scroll positions are NOT restored.
Did this work before? Yes Chrome 52.0.2743.116 m
Chrome version: 54.0.2826.0 Channel: n/a
OS Version: 10.0
Flash Version:
You can repro using my site.
http://falsandtru.github.io/pjax-api/
,
Sep 2 2016
Could anyone take a look at this regression? Or can I see the source changes?
,
Sep 4 2017
Issue has not been modified or commented on in the last 365 days, please re-open or file a new bug if this is still an issue. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot |
||
►
Sign in to add a comment |
||
Comment 1 by msrchandra@chromium.org
, Aug 11 2016