-
Notifications
You must be signed in to change notification settings - Fork 30.5k
Closed as duplicate of#72938
Closed as duplicate of#72938
Copy link
Labels
MetadataRelated to Next.js' Metadata API.Related to Next.js' Metadata API.Parallel & Intercepting RoutesRelated to Parallel and/or Intercepting routes.Related to Parallel and/or Intercepting routes.bugIssue was opened via the bug report template.Issue was opened via the bug report template.locked
Description
Link to the code that reproduces this issue
https://github.com/sato-kazuma-kun/nextjs-intercepting-routes-bug
To Reproduce
- Start the application (bun or npm suggested).
- Navigate to
/and press the "Login" button. - Watch that the title of the document does not change.
- Check the code in
app/@modal/(.)login/page.tsx(It exports a metadata function with a title).
Current vs. Expected behavior
Following the steps I expect the title of the page to change to "Login - Bug" but it remains same to the page prior to opening the modal.
Provide environment information
Operating System:
Platform: win32
Arch: x64
Version: Windows 11 Home Single Language
Available memory (MB): 5990
Available CPU cores: 8
Binaries:
Node: 20.10.0
npm: N/A
Yarn: N/A
pnpm: N/A
Relevant Packages:
next: 14.2.4 // There is a newer version (14.2.15) available, upgrade recommended!
eslint-config-next: 14.2.1
react: 18.3.1
react-dom: 18.3.1
typescript: 5.0.4
Next.js Config:
output: N/AWhich area(s) are affected? (Select all that apply)
Metadata, Parallel & Intercepting Routes
Which stage(s) are affected? (Select all that apply)
next dev (local), next start (local)
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
MetadataRelated to Next.js' Metadata API.Related to Next.js' Metadata API.Parallel & Intercepting RoutesRelated to Parallel and/or Intercepting routes.Related to Parallel and/or Intercepting routes.bugIssue was opened via the bug report template.Issue was opened via the bug report template.locked