Skip to content

Commit

Permalink
fix(teleport): teleport should always be tracked as dynamic child for…
Browse files Browse the repository at this point in the history
… unmount

fix #1088
  • Loading branch information
yyx990803 committed May 1, 2020
1 parent 08bf7e3 commit 7f23555
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/runtime-core/src/vnode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,7 @@ function _createVNode(
patchFlag !== PatchFlags.HYDRATE_EVENTS &&
(patchFlag > 0 ||
shapeFlag & ShapeFlags.SUSPENSE ||
shapeFlag & ShapeFlags.TELEPORT ||
shapeFlag & ShapeFlags.STATEFUL_COMPONENT ||
shapeFlag & ShapeFlags.FUNCTIONAL_COMPONENT)
) {
Expand Down

0 comments on commit 7f23555

Please sign in to comment.