Modal not closing after opening new page #67385
Labels
bug
Issue was opened via the bug report template.
Parallel & Intercepting Routes
Related to Parallel and/or Intercepting routes.
Link to the code that reproduces this issue
https://github.com/vanlooverenkoen/nextgram
To Reproduce
It is not possible to go from a page (A) to a modal and to another page (B). If you try to do this this is what happens.
/test
and the new page is shown, but there is 1 big issue, the modal still stays open)/photos/1
/
Current vs. Expected behavior
The expected behaviour is that the modal closes if you go to another screen.
Provide environment information
Operating System: Platform: darwin Arch: arm64 Version: Darwin Kernel Version 22.6.0: Wed Jul 5 22:21:53 PDT 2023; root:xnu-8796.141.3~6/RELEASE_ARM64_T6020 Available memory (MB): 65536 Available CPU cores: 12 Binaries: Node: 20.9.0 npm: 10.1.0 Yarn: 1.22.20 pnpm: 9.3.0 Relevant Packages: next: 14.2.4 // Latest available version is detected (14.2.4). eslint-config-next: N/A react: 18.3.1 react-dom: 18.3.1 typescript: 5.5.3 Next.js Config: output: N/A
Which area(s) are affected? (Select all that apply)
Parallel & Intercepting Routes
Which stage(s) are affected? (Select all that apply)
next dev (local), next start (local)
Additional context
I have this on my own projects as well as nextgram.
This is a screen recording of the whole process
Screen.Recording.2024-07-02.at.14.40.08.mov
The text was updated successfully, but these errors were encountered: