Open lmy1991 opened 4 months ago
I'm having this issue. Paralle routes with intercepts for dynamic routes intercepts everything in that route even though it should be redirect to another place. For example:
test
--[id]
----page.tsx
--@parallel
----(.)[id]
------page.tsx
--other
----page.tsx
with the above folder structure ^ . When you're on /test and navigate to /test/other it intercepts it even though it should only intercept /test/[id] routes
That's a pretty huge bug in my opinion and I hope someone will look at this urgently
Same here: When a Link
is clicked to open intercepted modal, for a brief moment normal route is shown, before switching to intercepted one (the modal). In below screencapture, you can see normal route appearing at the bottom (with "Loading" text), when I click "Import" button.
Link to the code that reproduces this issue
https://github.com/lmy1991/nextgram
To Reproduce
1.Click on the search block 2.Search route intercepted
Current vs. Expected behavior
1.Click on the search block 2.The search route will not be intercepted and will redirect normally to the search details page
Provide environment information
Which area(s) are affected? (Select all that apply)
Parallel & Intercepting Routes
Which stage(s) are affected? (Select all that apply)
next dev (local)
Additional context
No response