Skip to content

Commit 1b3b191

Browse files
committed
fix(hydration): park cursor on end marker after renderClaimed tail discard
renderClaimed's template-less fallback sets from = cursor and then removeRange(from, end) detaches the node this.node still references. The existing discard() helper does the same removal and then assigns this.node = end. Add the same assignment so the cursor stays on a live node for subsequent adoption.
1 parent 4a26f7f commit 1b3b191

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎packages/octane/src/runtime.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19390,6 +19390,7 @@ class HydrationCapability {
1939019390
}
1939119391
}
1939219392
removeRange(from, end);
19393+
this.node = end;
1939319394
}
1939419395

1939519396
/**

0 commit comments

Comments
 (0)