Skip to content

Commit df590ad

Browse files
fix(ui): defer disclosure reconciliation
1 parent c3a00fa commit df590ad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎ui/src/pages/chat/components/chat-transcript-controller.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ class ChatSessionVirtualizerHost implements ReactiveControllerHost, ChatTranscri
139139
return;
140140
}
141141
this.pendingInteractionAnchor = anchor;
142-
this.host.requestUpdate();
142+
queueMicrotask(() => this.pendingInteractionAnchor === anchor && this.host.requestUpdate());
143143
};
144144
private measureConnectedRows(): void {
145145
// Only width invalidation owns forced DOM reads. Ordinary row refs stay on

0 commit comments

Comments
 (0)