Why does modal created with intercepting routes close only on router.back()?
Unanswered
zmagar91 posted this in #help-forum
zmagar91OP
I created modal with intercepting routes and I want close it with
router.push(someUrl) or <Link href={someURL}>. The problem is that only router.back() works. Other methods change the url but the modal remains open. I tried to add [...catchAll]/page.tsx like in docs but it didn't help.