Skip to content

Commit 47df888

Browse files
t3dotggclaude
andcommitted
fix(web): tool cards stop bouncing when text streams in
Text lands above the live card, so the eased scroll follow showed the card pushed down, then pulled it back. With cards on, the follow is instant. Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent 8c8dbae commit 47df888

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎apps/web/src/components/chat/MessagesTimeline.tsx‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1312,7 +1312,11 @@ const ConversationTimeline = memo(function ConversationTimeline({
13121312
fullscreenAppRowId !== null ||
13131313
disclosureToggleSettling
13141314
? false
1315-
: isWorking && !prefersReducedMotion && settlingListIdentity === null
1315+
: // Text lands above a live tool card, so an eased follow drops the card, then lifts it.
1316+
isWorking &&
1317+
!prefersReducedMotion &&
1318+
!toolCallCards &&
1319+
settlingListIdentity === null
13161320
? TIMELINE_MAINTAIN_SCROLL_AT_END_SMOOTH
13171321
: TIMELINE_MAINTAIN_SCROLL_AT_END
13181322
}

0 commit comments

Comments
 (0)