Next.js Discord

Discord Forum

Parallel route with interception route does not work after route.push()

Unanswered
Broad-snouted Caiman posted this in #help-forum
Open in Discord
Broad-snouted CaimanOP
Inside the
@folder/(..)folder/
page I have dialog which opens and closes as expected when I change route with route.back() but when I do route.push(), it redirects me to the route but dialog won't open here's the dialog
   <Dialog
        open={dialog}
        
          onOpenChange={(val) => {
          !val ? (router.push('/explore/gallery'),setDialog(false)) : null
          }}
        > 
Whatis causing this?

0 Replies