The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 23, 21:45 UTC
fix(mobile): running threads open at the latest message (#13530)
AKolenda committed
Sep 25, 2026 at 21:38 UTC
ecd3237b184e87af5d744a9dc28422cc1eb68e1a
1 file changed
+4
-1
apps/mobile/src/features/threads/ThreadFeed.tsx
+4
-1
@@ -2477,7 +2477,10 @@ export const ThreadFeed = memo(function ThreadFeed(props: ThreadFeedProps) {
2477
// content-inset override. Seed the fresh instance synchronously with the
2478
// current overlay height before the scroll integration's next reaction;
2479
// on Android the declarative contentInset floor covers this same window.
2480
- const listMountKey = `${feedThreadKey}:${presentedFeed.length === 0 ? "empty" : "filled"}`;
2480
+ // The thinking row a running thread shows while its messages load is not
2481
+ // content: the list must still remount, and so open at the end, when they
2482
+ // arrive.
2483
+ const listMountKey = `${feedThreadKey}:${presentedFeed.some((entry) => entry.type !== "thinking") ? "filled" : "empty"}`;
2484
useLayoutEffect(() => {
2485
const bottom = props.contentInsetEndAdjustment.value;
2486
if (bottom > 0) {