Skip to content

Commit 8aa5c92

Browse files
t3dotggclaude
andcommitted
fix(mobile): live row with a thought measures its own height
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
1 parent 7101d4a commit 8aa5c92

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎apps/mobile/src/features/threads/ThreadFeed.tsx‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2909,6 +2909,8 @@ export const ThreadFeed = memo(function ThreadFeed(props: ThreadFeedProps) {
29092909
case "run-fold":
29102910
return resolveThreadFeedFixedItemSize(entry.type);
29112911
case "work-toggle":
2912+
// A live thought wraps up to four lines, so that row measures itself.
2913+
return entry.thought ? undefined : WORK_GROUP_TOGGLE_HEIGHT;
29122914
case "thinking":
29132915
return WORK_GROUP_TOGGLE_HEIGHT;
29142916
case "activity-group":

0 commit comments

Comments
 (0)