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

doc tell is diffrent with source code: "Native CSS animations are applied in the same way as CSS transitions, with the difference being that *-enter-from is not removed immediately after the element is inserted, but on an animationend event" #2630

Open
lightnoway opened this issue Dec 27, 2023 · 0 comments

Comments

@lightnoway
Copy link

at the CSS Animations parts

  • Native CSS animations are applied in the same way as CSS transitions, with the difference being that *-enter-from is not removed immediately after the element is inserted, but on an animationend event

  • it's not the true : *-enter-from remote at nextFrame not animationend
        nextFrame(() => {
          removeTransitionClass(el, isAppear ? appearFromClass : enterFromClass)
        // just remove  `*-enter-from`  in nextFrame
    • and i tried console.log ; result is also remove *-enter-from in nextFrame
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

No branches or pull requests

1 participant