diff --git a/.changeset/eight-shrimps-enjoy.md b/.changeset/eight-shrimps-enjoy.md new file mode 100644 index 000000000000..a56edf543021 --- /dev/null +++ b/.changeset/eight-shrimps-enjoy.md @@ -0,0 +1,5 @@ +--- +"astro": patch +--- + +Fixes an issue where `` still allowed the browser-native morph animation. diff --git a/packages/astro/src/runtime/server/transition.ts b/packages/astro/src/runtime/server/transition.ts index 755e64417ac2..0c402fb27cdf 100644 --- a/packages/astro/src/runtime/server/transition.ts +++ b/packages/astro/src/runtime/server/transition.ts @@ -107,6 +107,7 @@ export function renderTransition( sheet.addFallback('old', 'animation: none; mix-blend-mode: normal;'); sheet.addModern('old', 'animation: none; opacity: 0; mix-blend-mode: normal;'); sheet.addAnimationRaw('new', 'animation: none; mix-blend-mode: normal;'); + sheet.addModern('group', 'animation: none'); } result._metadata.extraHead.push(markHTMLString(``));