Skip to content

Commit 49e7bda

Browse files
committed
fix(runtime-core): close vuejs#8105
1 parent 597f9b8 commit 49e7bda

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/runtime-core/src/renderer.ts

+1
Original file line numberDiff line numberDiff line change
@@ -2035,6 +2035,7 @@ function baseCreateRenderer(
20352035
if (needTransition) {
20362036
if (moveType === MoveType.ENTER) {
20372037
transition!.beforeEnter(el!)
2038+
if (anchor && anchor.parent !== container) anchor = null
20382039
hostInsert(el!, container, anchor)
20392040
queuePostRenderEffect(() => transition!.enter(el!), parentSuspense)
20402041
} else {

0 commit comments

Comments
 (0)