Next.js Discord

Discord Forum

Parallel Routes with Animations

Unanswered
Californian posted this in #help-forum
Open in Discord
CalifornianOP
I have some parallel routes set up with ShadCN modals, when the modal is dismissed natively, the dismissal animation runs and the user sees the previous route but the router doesn't update.

However if I force the router to update when the modal is dismissed, I lose the animation completely.

Is there any way to get the correct route when dismissing the modal and keep the navigation or is it just a nature of parallel routes currently?

0 Replies