adam12 · GitHub

Bug description

As of v3.8.0, the <title> attribute doesn't appear to update when navigating.

Reproduction project

I do not see <title> updates at all on the application I am working in.

I made a Glitch thinking I'd recreate this, but the Glitch works fine. The application I am encountering this on is a fairly standard Rails application, with only very small configuration around forcing all links to follow, etc (shown below).

import "unpoly/dist/unpoly"
up.link.config.followSelectors.push('a[href]')
up.form.config.submitSelectors.push(['form'])
up.form.config.groupSelectors.push(['.form-control'])

Browser version

  • OS: Mac
  • Browser: Chrome
  • Version: 133.0.6943.142

Additional context

The title comes back fine in the responses.
If I add [up-meta], there is no change.
I added [lang=en] to <html>, which made no difference.
The debug log for Unpoly appears normal. Shows navigation, replacing main element, etc.

I bisected the problem to 19aeeae but looking at it, I don't see anything that would stand out.

Read the original on github.com ↗