Skip to content

[Bug]: title on docs pages changes to and gets stuck as "Solid Docs" #1142

Open
@6TELOIV

Description

@6TELOIV

📝 Issue Description

When navigating around the docs site, sometimes the title will become "Solid Docs" instead of the specific page you are viewing, and then will stay that way until a hard refresh is performed.

📋 On which page(s) it occurs

All of them, except the main landing pages who's titles are seemingly supposed to be "Solid Docs".

🤔 Expected Behavior

The page title will be the same regardless of if it happens thru client-sided navigation or browser navigation

👀 Current Behavior

On around the fourth or fifth navigation on the docs site, the title changes to "Solid Docs" and will stay that way until the page is refreshed.

🖥️ Browser

Firefox 136.0.2 and Safari 18.3.1 (both on macOS 15.3.2)

📄 Additional Information

Looking into the source, it appears that there are 2 <title> elements being created when the issue arises. Then, the second <title> will properly be updated as you navigate around, but in the browser this is not reflected as the first <title> is used instead. It smells of a data race of some sort. The issue may be upstream in @solidjs/meta, but I'm not sure.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions