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

Reset scrollTop on route changes #279

Closed
pjrundle opened this issue Oct 2, 2023 · 0 comments
Closed

Reset scrollTop on route changes #279

pjrundle opened this issue Oct 2, 2023 · 0 comments

Comments

@pjrundle
Copy link

pjrundle commented Oct 2, 2023

Not supported by Wouter out of the box it seems.
molefrog/wouter#300

To see the bug, scroll to the bottom or some way down a page, then navigate to another. The scroll position from the previous page persists rather than being at the top of the new page.

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

No branches or pull requests

2 participants