Closed
Description
Vue version
3.5.3
Link to minimal reproduction
Steps to reproduce
- Run the application
- Click "Toggle Component" to see the component animate out abnormally with a 2-second fade
- Click "Unmount All" to see the component immediately disappear without animation
What is expected?
When using "Toggle Component", you'll see the full 2-second leave animation
When using "Unmount All", the animation will be skipped because isUnmounting is set to true by the onBeforeUnmount hook
What is actually happening?
The animatoin dosenot appear
System Info
Any additional comments?
The onBeforeUnmount hook that sets isUnmounting to true
The check in the onLeave method that skips animation when isUnmounting is true
Metadata
Metadata
Assignees
Labels
No labels