marp-cli icon indicating copy to clipboard operation
marp-cli copied to clipboard

Unintended morphing animation when having a named element in only one side

Open yhatt opened this issue 2 years ago • 1 comments

I (probably) remember that morphing animation in a previous version of Chrome had only applied if there were named elements by view-transition-name in both of before and after of the transition effect.

Currently, the morphing animation is triggered even if there is a named element only in one side of slides. By the kind of transition effect in before and after of morphing animation, this behavior may bring not good looking.

yhatt avatar Mar 01 '23 16:03 yhatt

In the current spec, If there was the named element by view-transition-name property in the one side of transition, it seems not to be able to prevent generating ::view-transition-group(xxx) easily.

Submited a feedback to CSSWG: https://github.com/w3c/csswg-drafts/issues/8528

yhatt avatar Mar 05 '23 16:03 yhatt