We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa1672a commit 2bc6a8cCopy full SHA for 2bc6a8c
1 file changed
packages/runtime-core/src/renderer.ts
@@ -1984,7 +1984,12 @@ function baseCreateRenderer(
1984
for (let i = 0; i < ch1.length; i++) {
1985
const c1 = ch1[i]
1986
const c2 = ch2[i]
1987
- if (isVNode(c1) && isVNode(c2) && !c2.dynamicChildren) {
+ if (
1988
+ isVNode(c1) &&
1989
+ isVNode(c2) &&
1990
+ c2.shapeFlag & ShapeFlags.ELEMENT &&
1991
+ !c2.dynamicChildren
1992
+ ) {
1993
if (c2.patchFlag <= 0) {
1994
c2.el = c1.el
1995
}
0 commit comments