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

Page doesn't scroll to top after navigation #3804

Open
tien opened this issue Mar 18, 2025 · 2 comments
Open

Page doesn't scroll to top after navigation #3804

tien opened this issue Mar 18, 2025 · 2 comments

Comments

@tien
Copy link

tien commented Mar 18, 2025

I'm still trying to create a minimum reproduction for this.

Current behaviour:

  • By default scroll does not get reset to top after navigation
  • Setting scrollRestoration: true doesn't works correctly with router.history.back()
@JoshuaHD
Copy link

Similar to #3680

Working Solution for now is to roll back to @tanstack/[email protected]

@Benjamin-Lee
Copy link

I'm having a similar issue with this on Safari only, not chrome. Not sure if related.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants