fix(Transition): fix VaporTransition animation#14368
fix(Transition): fix VaporTransition animation#14368jackma9604 wants to merge 1 commit intovuejs:minorfrom
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Size ReportBundles
Usages
|
|
Thank you for your contribution. First, you identified the issue and provided a fix. However, this fix has some problems.
I have made a fix to avoid the issues mentioned above. See #14374. |
Problem Description
The vapor mode cannot transition normally!
Root Cause
In v-if, the element is considered as the same one
Vue Version
3.6.0-beta.4
Steps to reproduce
Click the button in the demo
Link to minimal reproduction
This element has no exit animation, but this is normal in version 3.5.x
v3.6.0-beta.4 play
v3.5.27 play
When the addition mode is set to out-in/in-out, an error is printed on the console. (Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.)
play