Wrong segment rendered when quickly reload page and navigate browser history in Next.js 13+. #69374
Labels
bug
Issue was opened via the bug report template.
invalid link
The issue was auto-closed due to a missing/invalid reproduction link. A new issue should be opened.
Navigation
Related to Next.js linking (e.g., <Link>) and navigation.
Pages Router
Related to Pages Router.
Link to the code that reproduces this issue
https://www.loom.com/share/af8dfdedf0f04b018aa26941db76214d?sid=78e7f58d-5676-4162-81e7-74f9e42b1959
To Reproduce
Requirements:
I passed as URL the video(not a code) where I reproduced bug.
It doesn't require any code to execute. The issue exists in app that uses Next 13+. You need to have 2 routes and you can navigate between them.
Current vs. Expected behavior
Actual result: page content is still from previous route and URL is correct.
Expected result: page content where I go back and URL must be correct.
Provide environment information
Which area(s) are affected? (Select all that apply)
Navigation, Pages Router
Which stage(s) are affected? (Select all that apply)
next dev (local), Vercel (Deployed), Other (Deployed)
Additional context
Please see the provided screen recording video where the issue is produced. It can be reproduced in other websites that uses Next.js 13+.
The text was updated successfully, but these errors were encountered: