fix(transition): toggling branches with in-out mode should be transitioned correctly (#3109)
fix #3104
This commit is contained in:
@@ -223,7 +223,7 @@ const BaseTransitionImpl = {
|
||||
instance.update()
|
||||
}
|
||||
return emptyPlaceholder(child)
|
||||
} else if (mode === 'in-out') {
|
||||
} else if (mode === 'in-out' && innerChild.type !== Comment) {
|
||||
leavingHooks.delayLeave = (
|
||||
el: TransitionElement,
|
||||
earlyRemove,
|
||||
|
||||
Reference in New Issue
Block a user