Skip to content

fix(ui): stop the chat bumping when a message is sent - #4249

Merged
taciturnaxolotl merged 2 commits into
mainfrom
fix/chat-shrink-bump
Nov 7, 2026
Merged

taciturnaxolotl merged 2 commits into
mainfrom
fix/chat-shrink-bump

Conversation

@taciturnaxolotl

Copy link
Copy Markdown
Member

Sending a message made the chat jump two lines up for a few frames, then drop back down. When the stored prompt replaced the one echoed at send time, the list shrank, but nothing pulled the view back to the bottom, so it sat lifted with blank rows below until the reply scrolled it.

  • Keep scrolled lists pinned to their end when content shrinks or an item is removed. This fixes the send bump, plus the same blank-gap bug in filtered dialog lists and when a collapsing item sits at the bottom.
  • Apply the same correction to views that track their own scroll position: the permission dialog after the terminal grows taller, a multi-choice question after its text field collapses, the theme editor list, and sideways scrolling of shell output, which could scroll every line out of view.

Each case has a regression test that fails without its fix.

💘 Generated with Crush

@taciturnaxolotl
taciturnaxolotl merged commit 8f1f029 into main Nov 7, 2026
13 of 14 checks passed
@taciturnaxolotl
taciturnaxolotl deleted the fix/chat-shrink-bump branch November 7, 2026 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant