re-anchor the conversation tail when the bottom input zone resizes (T-297)

When the interaction zone grows/shrinks (composer ↔ permission prompt /
AskUserQuestion, D-78) the conversation viewport changed height but the scroll
offset didn't follow, leaving the last card hidden behind the taller box. Track
whether the view is pinned to the tail; a LayoutBuilder around the list detects
the viewport-height change and re-jumps to the bottom only when pinned, so a
scrolled-up reader is undisturbed.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-09 18:22:14 +02:00
co-authored by Claude Opus 4.8
parent 3414db148a
commit 6efb3b5d2b
3 changed files with 138 additions and 1 deletions
+5
View File
@@ -224,6 +224,11 @@ heading, and (b) bumping `pubspec.yaml` `version:` in the same commit.
### Fixed
- **The conversation re-anchors when the input area resizes.** Opening a
permission prompt or AskUserQuestion (which grows the bottom zone, D-78) no
longer hides the last message behind it — when pinned to the tail, the view
re-scrolls to keep it visible; a scrolled-up reader is left undisturbed.
(T-297)
- **The chosen theme now persists across restarts**, per repo. Picking a theme
(status-bar switcher or Settings) writes it to the repo's
`.clide/settings.yaml` (and a global default), and reopening the repo restores