fix(transition/v-show): ensure transition is in persisted mode when used with v-show
fix #4845 close #4852
This commit is contained in:
@@ -713,6 +713,7 @@ function baseCreateRenderer(
|
||||
(!parentSuspense || (parentSuspense && !parentSuspense.pendingBranch)) &&
|
||||
transition &&
|
||||
!transition.persisted
|
||||
if (transition) debugger
|
||||
if (needCallTransitionHooks) {
|
||||
transition!.beforeEnter(el)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user