Skip to content

Don't load view transitions on Hyvä themes - #33

Open
GrimLink wants to merge 1 commit into
mage-os:mainfrom
GrimLink:fix/no-view-transitions-on-hyva
Open

GrimLink wants to merge 1 commit into
mage-os:mainfrom
GrimLink:fix/no-view-transitions-on-hyva

Conversation

@GrimLink

@GrimLink GrimLink commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

Fixes #32

Hyvä Default Theme 1.4+ includes view transitions in its theme CSS (@view-transition { navigation: auto; }), so the view transitions style and script of this module only duplicated that. Because they are rendered at the end of the body, they also override anything a Hyvä theme sets for view transitions, such as the fix for the Facebook and Instagram in-app browser in the Hyvä default theme (see #30).

  • default_hyva.xml removes the theme-optimization.view-transitions block. Speculation rules, the bfcache response headers and the admin view transitions are untouched.
  • Added a note to Enable View Transitions and Apply on Back/Forward (admin and README) that they have no effect on Hyvä themes.
  • Added a changelog entry under Unreleased.

Luma behaviour is unchanged. This touches default_hyva.xml like #29, so one of the two needs a small rebase after the other is merged.

@GrimLink
GrimLink requested review from a team and rhoerr as code owners October 2, 2026 16:27
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.

Don't load the view transitions on Hyvä

1 participant