Skip to content

Commit 96ca3b0

Browse files
fix(vapor): handle next host node for vapor component (#13823)
close #13824 --------- Co-authored-by: daiwei <[email protected]>
1 parent ea397b7 commit 96ca3b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/runtime-core/src/renderer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2499,7 +2499,7 @@ function baseCreateRenderer(
24992499
const getNextHostNode: NextFn = vnode => {
25002500
if (vnode.shapeFlag & ShapeFlags.COMPONENT) {
25012501
if ((vnode.type as ConcreteComponent).__vapor) {
2502-
return hostNextSibling((vnode.component! as any).block)
2502+
return hostNextSibling(vnode.anchor!)
25032503
}
25042504
return getNextHostNode(vnode.component!.subTree)
25052505
}

0 commit comments

Comments
 (0)