navigating to and from global not-found.js
do not work in next v13.3
#48111
Labels
area: app
App directory (appDir: true)
bug
Issue was opened via the bug report template.
Navigation
Related to Next.js linking (e.g., <Link>) and navigation.
Verify canary release
Provide environment information
Which area(s) of Next.js are affected? (leave empty if unsure)
App directory (appDir: true), Routing (next/router, next/navigation, next/link)
Link to the code that reproduces this issue
https://stackblitz.com/edit/github-qh3hsn?file=app%2Flayout.tsx,app%2Fpage.tsx
To Reproduce
To test navigating to a 404 page :
next dev
To test navigating from a 404 page :
next dev
Describe the Bug
There are 2 bugs occurring with 404 navigation :
<Link>
component if you have a globalnot-found
page it will show the current page only and not even navigate, if i manually go to the nonexisting page (from the URL bar for ex) it will show me the correct page.<Link>
component anywhere, it will update the URL in the URL bar but not show that page, it will only show the 404 pageExpected Behavior
Navigation from and to a page that does not exists when using a global not-found page should work normally.
Which browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
No response
The text was updated successfully, but these errors were encountered: