fix: land pane opens on the live scrollback tail (0.11.1)#12
Merged
AltanS merged 3 commits intoJul 17, 2026
Merged
Conversation
The terminal <pre>'s overflow-x-auto was becoming the vertical scroller (CSS overflow quirk + flex shrink), so ChatMessageList stickiness never moved the view. Keep vertical scroll on the message list and re-pin when content grows after open/tab switch. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
<pre>usesoverflow-x-autofor wide TUI tables; CSS then forcesoverflow-y: auto, flex shrinks that<pre>to the viewport, and it becomes the vertical scroller — soChatMessageListstickiness was a no-op.shrink-0on the pre, block (not flex-col) scrollport, stop the mirror wrapper from becoming a second vertical scroller; also re-pin when content grows after open.Evidence (headless Chromium against live
http://127.0.0.1:8787)Phone viewport
390×844, panew5:p2(~261 lines of Cursor output).Before — vertical scroll lived on
<pre>; list never overflowed; stuck at top:ChatMessageList(overflow-y-auto)<pre>(AnsiOutput)After (
bun run build, same probe) — list is the scroller and opens pinned to the tail:ChatMessageList(overflow-y-auto)<pre>(AnsiOutput)Second pane check (
w6:p2, ~361 lines): listscrollTop=6084 / scrollHeight=6504 / clientHeight=420,atBottom=true;<pre>not scrollable.Test plan
cd web && bun run test/bun run test(root) greenMade with Cursor