Skip to content

[fixed] Don't record scroll position when replacing route #481

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

gaearon
Copy link
Contributor

@gaearon gaearon commented Nov 18, 2014

Scroll position should only be recorded for PUSH and POP actions.
There is no point in saving it if the item is replaced in browser history.

(This is mostly a correctness fix)

Scroll position should only be recorded for PUSH and POP actions.
There is no point in saving it if the item is replaced in browser history.
@gaearon
Copy link
Contributor Author

gaearon commented Nov 26, 2014

Superseded by #524.

@gaearon gaearon closed this Nov 26, 2014
@gaearon gaearon deleted the replacewith-should-not-save-scroll branch November 26, 2014 18:26
@lock lock bot locked as resolved and limited conversation to collaborators Jan 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant