-
Notifications
You must be signed in to change notification settings - Fork 27k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[[...catchAll]] route doesn't work with parallel route #61206
Comments
https://nextjs-forum.com/post/1206861195336744970 Still haven't fixed the catchAll |
Surprisingly, the problem with returning from the modal window was ignored altogether. The official example still doesn't work. I am writing here because all the topics related to this problem have been closed and have not been resolved in any way. Maybe at least they'll notice here: Even without [[..catchAll]] and using [...catchAll] + page.tsx, it still doesn't work. neither client-side nor server-side |
Currently working around this with this structure:
And both page files just have dummy Would be nice to not have to do this, though. |
Is there any chance of this bug being fixed? This severely limits the usage of parallel routes. |
This comment has been minimized.
This comment has been minimized.
Doing it similar. This has the downside of getting a different instance of the page, because root page and the catchall page are different. In our case the suspense boundary kicks in again. Not a very pleasant experience. |
We have the following folder structure.
In
However in
This was a breaking change in a minor release that hasn't been fixed in almost 5 months. |
Probably related: #71086 |
Link to the code that reproduces this issue
https://github.com/MathiasStrohkirch/nextjs-parallel-routes-catch-all-bug
To Reproduce
Current vs. Expected behavior
Current behavior:
404 error after hard navigation to /dashboard/add/1
Expected behavior:
dashboard should render the optional catchAll page and @modal should render the add/[id] page
Provide environment information
Operating System: Platform: linux Arch: x64 Version: #1 SMP Thu Oct 5 21:02:42 UTC 2023 Binaries: Node: 18.17.1 npm: 10.2.3 Yarn: N/A pnpm: N/A Relevant Packages: next: 14.1.1-canary.13 // Latest available version is detected (14.1.1-canary.13). eslint-config-next: N/A react: 18.2.0 react-dom: 18.2.0 typescript: 5.1.3 Next.js Config: output: N/A
Which area(s) are affected? (Select all that apply)
App Router
Which stage(s) are affected? (Select all that apply)
next dev (local)
Additional context
I'm new to next, so please let me know if I am misunderstanding something!
NEXT-2312
The text was updated successfully, but these errors were encountered: