vuejs / vuejs/docs

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"

Open Beginner friendly
#2,630 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Vue
Stars
3.2k
Forks
5k
Avg merge
14d 17h
Merged PRs (30d)
1

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the CSS Animations section in the Vue documentation and compare its statement about *-enter-from with packages/runtime-dom/src/components/Transition.ts around line 199. Update the wording to match the observed nextFrame behavior, then verify that the documentation accurately describes when the class is removed.

Written by the indexing model from the issue text.

Assessment

Tech stack
css
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.