Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<Link> doesn't navigate to the intercepted route in specific scenario #65144

Closed
Neutrlno opened this issue Apr 28, 2024 · 1 comment
Closed
Labels
bug Issue was opened via the bug report template. linear: next Confirmed issue that is tracked by the Next.js team. Parallel & Intercepting Routes Related to Parallel and/or Intercepting routes.

Comments

@Neutrlno
Copy link

Neutrlno commented Apr 28, 2024

Link to the code that reproduces this issue

https://codesandbox.io/p/devbox/great-lumiere-lgkkyj

To Reproduce

  1. Click link to signin
  2. Click "to secondary"
  3. Click "back to signin"

Current vs. Expected behavior

Current: On step 3 the only thing that chages is the address bar. If "back to signin" button would be router.push("/signin") router.refresh() it would work as expected.
Expected: navigate to "/signin".

Provide environment information

Operating System:
  Platform: linux
  Arch: x64
  Version: #1 SMP PREEMPT_DYNAMIC Sun Aug  6 20:05:33 UTC 2023
  Available memory (MB): 4102
  Available CPU cores: 2
Binaries:
  Node: 20.9.0
  npm: 9.8.1
  Yarn: 1.22.19
  pnpm: 8.10.2
Relevant Packages:
  next: 14.3.0-canary.26 // There is a newer canary version (14.3.0-canary.29) available, please upgrade! 
  eslint-config-next: N/A
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 5.1.3

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

Pages Router label added by mistake

NEXT-3257

@Neutrlno Neutrlno added the bug Issue was opened via the bug report template. label Apr 28, 2024
@github-actions github-actions bot added Pages Router Related to Pages Router. Parallel & Intercepting Routes Related to Parallel and/or Intercepting routes. labels Apr 28, 2024
@samcx samcx added linear: next Confirmed issue that is tracked by the Next.js team. and removed Pages Router Related to Pages Router. labels Apr 30, 2024
@Neutrlno
Copy link
Author

Neutrlno commented Jun 4, 2024

closing it as a likely duplicate of the issue above (which is resolved by using [...catchAll] method)

@Neutrlno Neutrlno closed this as completed Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue was opened via the bug report template. linear: next Confirmed issue that is tracked by the Next.js team. Parallel & Intercepting Routes Related to Parallel and/or Intercepting routes.
Projects
None yet
Development

No branches or pull requests

2 participants