mirror of
https://gitee.com/vuejs/vue.git
synced 2024-11-30 02:57:43 +08:00
fix(transition): fix out-in transition getting stuck with v-if (#7023)
fix #6687
This commit is contained in:
parent
a3246fd854
commit
45d7ba8429
@ -161,7 +161,9 @@ export default {
|
||||
oldChild &&
|
||||
oldChild.data &&
|
||||
!isSameChild(child, oldChild) &&
|
||||
!isAsyncPlaceholder(oldChild)
|
||||
!isAsyncPlaceholder(oldChild) &&
|
||||
// #6687 component root is a comment node
|
||||
!(oldChild.componentInstance && oldChild.componentInstance._vnode.isComment)
|
||||
) {
|
||||
// replace old child transition data with fresh one
|
||||
// important for dynamic transitions!
|
||||
|
Loading…
Reference in New Issue
Block a user