| ... | @@ -2477,7 +2477,10 @@ export const ThreadFeed = memo(function ThreadFeed(props: ThreadFeedProps) { | ... | @@ -2477,7 +2477,10 @@ export const ThreadFeed = memo(function ThreadFeed(props: ThreadFeedProps) { |
| 2477 | // content-inset override. Seed the fresh instance synchronously with the | 2477 | // content-inset override. Seed the fresh instance synchronously with the |
| 2478 | // current overlay height before the scroll integration's next reaction; | 2478 | // current overlay height before the scroll integration's next reaction; |
| 2479 | // on Android the declarative contentInset floor covers this same window. | 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"}`; |
| 2481 | useLayoutEffect(() => { | 2484 | useLayoutEffect(() => { |
| 2482 | const bottom = props.contentInsetEndAdjustment.value; | 2485 | const bottom = props.contentInsetEndAdjustment.value; |
| 2483 | if (bottom > 0) { | 2486 | if (bottom > 0) { |