We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21a540b commit 2de0b33Copy full SHA for 2de0b33
src/platforms/web/runtime/components/transition.js
@@ -161,7 +161,9 @@ export default {
161
oldChild &&
162
oldChild.data &&
163
!isSameChild(child, oldChild) &&
164
- !isAsyncPlaceholder(oldChild)
+ !isAsyncPlaceholder(oldChild) &&
165
+ // #6687 component root is a comment node
166
+ !(oldChild.componentInstance && oldChild.componentInstance._vnode.isComment)
167
) {
168
// replace old child transition data with fresh one
169
// important for dynamic transitions!
0 commit comments