Skip to content

Commit 7f23555

Browse files
committed
fix(teleport): teleport should always be tracked as dynamic child for unmount
fix #1088
1 parent 08bf7e3 commit 7f23555

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/runtime-core/src/vnode.ts

+1
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,7 @@ function _createVNode(
381381
patchFlag !== PatchFlags.HYDRATE_EVENTS &&
382382
(patchFlag > 0 ||
383383
shapeFlag & ShapeFlags.SUSPENSE ||
384+
shapeFlag & ShapeFlags.TELEPORT ||
384385
shapeFlag & ShapeFlags.STATEFUL_COMPONENT ||
385386
shapeFlag & ShapeFlags.FUNCTIONAL_COMPONENT)
386387
) {

0 commit comments

Comments
 (0)