You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
https://farhaan.vercel.app
In the above site, go to work in navbar to /projects and then click on any 1 project, it persists the scroll position while moving to projects/{id}
Describe the Bug
ISR generated dynamic pages on production persists scroll position on route change
Expected Behavior
Should scroll to top of the page on route change
Which browser are you using? (if relevant)
Brave
How are you deploying your application? (if relevant)
Vercel
The text was updated successfully, but these errors were encountered:
In the App Router we've completely reworked how scrolling on navigation and on back navigation is applied to solve the longstanding issues pages had around this. I'm going to close this issue as it was confirmed the changes work and the reproduction is no longer available.
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.
Verify canary release
Provide environment information
Don't have my PC right now
Which area(s) of Next.js are affected? (leave empty if unsure)
App directory (appDir: true)
Link to the code that reproduces this issue
https://github.com/Farhaan9082/personal-website
To Reproduce
https://farhaan.vercel.app
In the above site, go to work in navbar to /projects and then click on any 1 project, it persists the scroll position while moving to projects/{id}
Describe the Bug
ISR generated dynamic pages on production persists scroll position on route change
Expected Behavior
Should scroll to top of the page on route change
Which browser are you using? (if relevant)
Brave
How are you deploying your application? (if relevant)
Vercel
The text was updated successfully, but these errors were encountered: