How close all the routes in intercepting routes? #59466
Replies: 5 comments 3 replies
-
|
I'm actually curious about this too. My current method to close the modal is to use Here's a short video showing it. 2024-02-25_12-38-33.mp4I could force a redirect forward with like I'm wondering if this just isn't a good use case for this feature. |
Beta Was this translation helpful? Give feedback.
-
|
I am also having that ux issue for login/signup .. router.back() is navigating between modals so if i click signup and then signin x5 then closing the modal would navigate back 5 times each modal !! @icyJoseph @samx |
Beta Was this translation helpful? Give feedback.
-
|
what if i am in a parallel route already for example /signin and i click signup , how to prevent intercepting signup route/modal ?? do we have conditional route intercepting ? |
Beta Was this translation helpful? Give feedback.
-
|
any updates? |
Beta Was this translation helpful? Give feedback.
-
|
This answer helped me #50284 (comment) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Look at this example code: https://stackblitz.com/edit/stackblitz-starters-xaeywm
If I had multiple routes intercepted:
In the documentation say to use
router.back()but you are just navigating back between modals, how to close all modals, so going to the start of the route.Beta Was this translation helpful? Give feedback.
All reactions