Skip to content

Commit bd5f7a5

Browse files
committed
fix(Suspense): reset vnode.placeholder to null when removing placeholder
1 parent 5a8aa0b commit bd5f7a5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/runtime-core/src/components/Suspense.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -728,6 +728,7 @@ function createSuspenseBoundary(
728728
optimized,
729729
)
730730
if (placeholder) {
731+
vnode.placeholder = null
731732
remove(placeholder)
732733
}
733734
updateHOCHostEl(instance, vnode.el)

0 commit comments

Comments
 (0)