Routed modals
Unanswered
Greater Flamingo posted this in #help-forum
Greater FlamingoOP
I need to create modals that would open on specific routes, however with parallel routing if you open the link directly it will lead you to a page and not a modal.
What I need to do is always show a modal in these cases:
If routing from a page, show the modal above the current page.
If routing directly to the route with modal, show the homepage behind.
Is that flow even possible?
What I need to do is always show a modal in these cases:
If routing from a page, show the modal above the current page.
If routing directly to the route with modal, show the homepage behind.
Is that flow even possible?
1 Reply
https://x.com/asidorenko_/status/1725548472839950553?s=46
Check this implementation, here’s he’s using Parallel Routes and not intercepting, but I’m not sure you can choose dynamically which page will be showing as the background depending on where you were before navigating
Check this implementation, here’s he’s using Parallel Routes and not intercepting, but I’m not sure you can choose dynamically which page will be showing as the background depending on where you were before navigating
If routing from a page, show the modal above the current page.
If routing directly to the route with modal, show the homepage behind.