New issue
Advanced search Search tips

Issue 636534 link

Starred by 1 user

Issue metadata

Status: Archived
Owner: ----
Closed: Sep 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

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/
 
Labels: TE-NeedsTriageHelp
Could anyone take a look at this regression? Or can I see the source changes?
Project Member

Comment 3 by sheriffbot@chromium.org, Sep 4 2017

Status: Archived (was: Unconfirmed)
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