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
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-fromremote at nextFrame notanimationendnextFrame(() => { removeTransitionClass(el, isAppear ? appearFromClass : enterFromClass) // just remove `*-enter-from` in nextFrame- and i tried console.log ; result is also remove
*-enter-fromin nextFrame
- and i tried console.log ; result is also remove
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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