Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
yhatt opened this issue Mar 1, 2023 · 1 comment
Open
Labels
transitions Marp CLI transitions feature

Comments

@yhatt
Copy link
Member

yhatt commented Mar 1, 2023

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
Copy link
Member Author

yhatt commented Mar 5, 2023

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: w3c/csswg-drafts#8528

@yhatt yhatt changed the title [Transition] Unintended morphing animation when having a named element in only one side Unintended morphing animation when having a named element in only one side Mar 18, 2023
@yhatt yhatt added the transitions Marp CLI transitions feature label Mar 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
transitions Marp CLI transitions feature
Projects
None yet
Development

No branches or pull requests

1 participant