router.refresh isn't working when intercepting routes #51310
Labels
area: app
App directory (appDir: true)
bug
Issue was opened via the bug report template.
linear: next
Confirmed issue that is tracked by the Next.js team.
Parallel & Intercepting Routes
Related to Parallel and/or Intercepting routes.
Verify canary release
Provide environment information
Operating System: Platform: linux Arch: x64 Version: #22 SMP Tue Jan 10 18:39:00 UTC 2023 Binaries: Node: 18.14.2 npm: 9.5.0 Yarn: 1.22.19 pnpm: N/A Relevant packages: next: 13.4.4 eslint-config-next: 13.4.4 react: 18.2.0 react-dom: 18.2.0 typescript: 5.0.4
Which area(s) of Next.js are affected? (leave empty if unsure)
App directory (appDir: true)
Link to the code that reproduces this issue or a replay of the bug
https://codesandbox.io/p/sandbox/sleepy-violet-84j988?file=%2Fapp%2F%40modal%2F%28.%29login%2Fpage.tsx%3A8%2C32
To Reproduce
Click the "Refresh" button, it should refresh and show a new random number, but it doesn't
Describe the Bug
Is not refreshing when using intercepting routes feature
Expected Behavior
To refresh and get a new random number
Which browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
No response
NEXT-1845
The text was updated successfully, but these errors were encountered: