Skip to content

Catch-all parallel routes don't receive params if a normal route matches the path #62539

@nicolo-tito

Description

@nicolo-tito

Link to the code that reproduces this issue

https://codesandbox.io/p/devbox/parallel-routes-params-tfz5pp

To Reproduce

  1. Start application
  2. Click on the link

Current vs. Expected behavior

Current behavior: the catch-all parallel route don't receive any param, while the normal route receives params as expected.
Expected behavior: catch-all parallel route receives params, as it currently happens when no normal route matches the path.

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.1.1-canary.73 // Latest available version is detected (14.1.1-canary.73).
  eslint-config-next: N/A
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 5.1.3
Next.js Config:
  output: N/A

Which area(s) are affected? (Select all that apply)

App Router, Routing (next/router, next/navigation, next/link)

Which stage(s) are affected? (Select all that apply)

next dev (local), next build (local), next start (local), Vercel (Deployed), Other (Deployed)

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Parallel & Intercepting RoutesRelated to Parallel and/or Intercepting routes.bugIssue was opened via the bug report template.locked

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions