Layout behavior in parallel routes needs investigation to determine if it's a bug or documentation gap.
The issue reports that a default.tsx file in a parallel route slot is not being wrapped by its sibling layout.tsx as expected. This requires understanding Next.js's parallel routes and layout behavior to determine if it's a bug or needs documentation clarification. The reproduction case is clear but the expected behavior needs verification against the framework's design.
/Structure:
src/
└── app
├── @slot
│ ├── default.tsx
│ └── layout.tsx
├── layout.tsx
└── page.tsx
On /, app/@slot/default.tsx renders, but it's not enclosed by app/@slot/layout.tsx.
Based on the available documentation on layouts, I'd expect that they always wrap their sibling entry points within a folder.
If this is not intended, I think it should be documented.
Operating System:
Platform: darwin
Arch: x64
Version: Darwin Kernel Version 25.2.0: Tue Nov 18 21:09:34 PST 2025; root:xnu-12377.61.12~1/RELEASE_X86_64
Available memory (MB): 16384
Available CPU cores: 12
Binaries:
Node: 24.13.0
npm: 11.6.2
Yarn: 1.22.22
pnpm: 10.28.0
Relevant Packages:
next: 16.2.0-canary.37 // Latest available version is detected (16.2.0-canary.37).
eslint-config-next: N/A
react: 19.2.4
react-dom: 19.2.4
typescript: 5.9.3
Next.js Config:
output: N/A
Parallel & Intercepting Routes
next dev (local)
No response
Claim this issue to let others know you're working on it. You'll earn 20 points when you complete it!