Scroll to top on navigation with data browser router. #10882
Unanswered
rohitpotato
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
How can i ensure that every page starts from the top on navigation? I am not using nested routes.
On each navigation, the page starts from the scroll position on the previous page. What I want to achieve is, each page starts with the top?
I think I might not be understanding the
ScrollRestoration
component correctly I guess?Just for reference, this is how my routes look:
Beta Was this translation helpful? Give feedback.
All reactions