Skip to content

feat: Sync the browser tab title with the page title on React 19 - #11412

Merged
ThieryMichel merged 1 commit into
nextfrom
fix/dynamic-window-title
Oct 23, 2026
Merged

ThieryMichel merged 1 commit into
nextfrom
fix/dynamic-window-title

Conversation

@ThieryMichel

Copy link
Copy Markdown
Contributor

Every tab showed the static index.html title, so tabs and history entries could not be told apart (#5893). PageTitle now renders a React 19 <title>, which React hoists into , reading " - ". When the title is an element, it uses the string defaultTitle that the CRUD controllers provide.

It only does so when is set, so apps relying on their index.html title keep it, which is why #6119 was reverted. React 18 renders <title> in place instead of hoisting it, so nothing changes there.

The demo drops the custom title components that only rendered <title> by hand.

Problem

Describe the problem this PR solves

Solution

Describe the solution this PR implements

How To Test

Describe the steps required to test the changes

Additional Checks

  • The PR targets master for a bugfix or a documentation fix, or next for a feature
  • The PR includes unit tests (if not possible, describe why)
  • The PR includes one or several stories (if not possible, describe why)
  • The documentation is up to date

Also, please make sure to read the contributing guidelines.

@ThieryMichel
ThieryMichel force-pushed the fix/dynamic-window-title branch 2 times, most recently from 9308b09 to ebd5ebd Compare October 21, 2026 15:22
@ThieryMichel
ThieryMichel changed the base branch from master to next October 21, 2026 15:22
@ThieryMichel
ThieryMichel force-pushed the fix/dynamic-window-title branch 3 times, most recently from 55fed17 to 4eaf55f Compare October 21, 2026 15:42
@ThieryMichel
ThieryMichel marked this pull request as ready for review October 21, 2026 15:52
@ThieryMichel
ThieryMichel force-pushed the fix/dynamic-window-title branch from bbe9caf to e27f3ba Compare October 22, 2026 12:49
@ThieryMichel ThieryMichel added this to the 5.16.0 milestone Oct 22, 2026
@ThieryMichel
ThieryMichel merged commit 6ec4cfb into next Oct 23, 2026
15 checks passed
@ThieryMichel
ThieryMichel deleted the fix/dynamic-window-title branch October 23, 2026 07:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant