You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(message-list): keep bottom anchor sticky through tall-card layout settle
A tall card (Edit diff, Bash output) that lays out in one frame grows the
content height while the throttled/async scroll-to-bottom is still pending,
leaving distanceFromBottom huge. A non-user-driven stable geometry frame in
that window would recompute isNearBottom to false even though the user never
scrolled, causing the pending auto-scroll to bail and stranding the view above
the bottom.
Gate the un-stick recompute in MessageListScrollAnchor.apply on a new
isUserDriven flag so only a genuine user scroll releases the anchor; layout
settles keep it sticky. Preserves the "only follow the bottom while at the
bottom" semantics.
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
0 commit comments