Next.js Discord

Discord Forum

Intercepting routes and parallel routes modals but without "full screen" on refresh

Unanswered
Siamese Crocodile posted this in #help-forum
Open in Discord
Avatar
Siamese CrocodileOP
Hi. I like the way of showing modal with a nice url instread of search params like in the docs https://nextjs.org/docs/app/building-your-application/routing/intercepting-routes#modals but I do not want a behaviour where modal is an actual full screen page on refresh.

Example: https://nextgram.vercel.app/
Github: https://github.com/vercel/nextgram

I'd like showing a modal always on /photos/[id] - How can I achive it?

0 Replies