keepthatworktoyourself / wombat

Not another website builder. Public repo — raise issues, request features, get help.
2 stars 0 forks source link

Reset scrollTop on route changes #279

Closed pjrundle closed 1 year ago

pjrundle commented 1 year ago

Not supported by Wouter out of the box it seems. https://github.com/molefrog/wouter/issues/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.