From 353d8d2eae6457b0651171cf7bcef600488a15c4 Mon Sep 17 00:00:00 2001 From: Shantur Rathore Date: Sun, 21 Jun 2026 18:09:03 +0100 Subject: [PATCH] fix(ui): keep message-part tool output auto-scroll synced (#567) ## Summary - Pass MessagePart render notifications into ToolCall as onContentRendered. - Ensures streaming bash output rendered through the generic MessagePart path notifies the outer VirtualFollowList when content grows. ## Validation - npm run typecheck --workspace @codenomad/ui --- packages/ui/src/components/message-part.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/ui/src/components/message-part.tsx b/packages/ui/src/components/message-part.tsx index c4a83077..beba90b4 100644 --- a/packages/ui/src/components/message-part.tsx +++ b/packages/ui/src/components/message-part.tsx @@ -277,6 +277,7 @@ export default function MessagePart(props: MessagePartProps) { toolCallId={props.part?.id} instanceId={props.instanceId} sessionId={props.sessionId} + onContentRendered={props.onRendered} />