Skip to content

Commit 353d8d2

Browse files
authored
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
1 parent e29c3a0 commit 353d8d2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/ui/src/components/message-part.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,7 @@ export default function MessagePart(props: MessagePartProps) {
277277
toolCallId={props.part?.id}
278278
instanceId={props.instanceId}
279279
sessionId={props.sessionId}
280+
onContentRendered={props.onRendered}
280281
/>
281282
</Suspense>
282283
</Match>

0 commit comments

Comments
 (0)