Next.js Discord

Discord Forum

NextJS Navigation not scrolling to top of page when using dynamic pages

Unanswered
Sloth bear posted this in #help-forum
Open in Discord
Sloth bearOP
When using dynamic pages which have a loading state, Next does not navigate to the top of the page but remains scroll position which looks weird.

1 Reply

Even if you explicitly set scroll = true when doing the navigation via Link or router.push?