Skip to content
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

Preserve scroll position on browser back #127

Open
staydecent opened this issue Jul 8, 2020 · 1 comment
Open

Preserve scroll position on browser back #127

staydecent opened this issue Jul 8, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@staydecent
Copy link
Contributor

Router will need to keep a record of scroll positions for each route. So, right before route change, save current scroll position for the current route.

Should be an opt-in feature, as performance may be a concern.

@staydecent staydecent added enhancement New feature or request bug Something isn't working and removed enhancement New feature or request labels Jul 8, 2020
@staydecent
Copy link
Contributor Author

Looks like this is already handled in Chromium. May be better to await this feature to hit all browsers, then implement a solution ourselves.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant