Skip to content

Commit

Permalink
fix(BaseTransition): fix BaseTransition delayed leave with mode `in…
Browse files Browse the repository at this point in the history
…-out`

fix vuejs#1400
  • Loading branch information
underfin committed Jun 19, 2020
1 parent ba2a4e1 commit fc8c451
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/runtime-core/src/components/BaseTransition.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,6 @@ const BaseTransitionImpl = {
oldInnerChild.type !== Comment &&
!isSameVNodeType(innerChild, oldInnerChild)
) {
const prevHooks = oldInnerChild.transition!
const leavingHooks = resolveTransitionHooks(
oldInnerChild,
rawProps,
Expand All @@ -192,7 +191,6 @@ const BaseTransitionImpl = {
}
return emptyPlaceholder(child)
} else if (mode === 'in-out') {
delete prevHooks.delayedLeave
leavingHooks.delayLeave = (
el: TransitionElement,
earlyRemove,
Expand Down

0 comments on commit fc8c451

Please sign in to comment.