Assistant: scroll the thread to a new reply for real #134

Merged
steve merged 2 commits from fix/assistant-thread-scroll into main 2026-08-23 07:10:27 +00:00
2 Commits
Author SHA1 Message Date
steveandClaude Fable 5 82fbeb121b Address #134 review: follow the thread only while pinned to its end
Build image / build-and-push (push) Successful in 11s
The instant scroll runs on every step of a turn, so it now follows new
content only while the view is at the end of the thread (within 80px).
Scrolling up to read something stays put until the person comes back
down or sends the next message, which returns them to the end.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-23 03:08:48 -04:00
steveandClaude Fable 5 e184ae5565 Assistant: scroll the thread to a new reply for real
Build image / build-and-push (push) Successful in 20s
Gadfly review (reusable) / review (pull_request) Successful in 2m2s
Adversarial Review (Gadfly) / review (pull_request) Successful in 2m3s
scrollIntoView({ behavior: 'smooth' }) on the thread's nested scroller never
moved it in Chrome — measured live: scrollTop stayed 0 after sending and
after the reply, while the instant form scrolled to the end. A long
conversation therefore showed its oldest messages after every turn, with
the new reply out of view below. Instant it is.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-23 03:02:50 -04:00