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
{{ message }}
Repository navigation
[FEATURE] Read a new reply from its first line instead of being pulled to its tail while it streams #1095
While an answer streams, the transcript keeps following the newest row: each chunk pins the list to the bottom, so by the time the answer ends its first lines are already off screen and the reader lands on the tail. On 2–3k-token replies this happens on every message, and the list keeps pulling down while I try to read. Pinning to the end is right for short chat messages but wrong for long agent answers — the DeepSeek app keeps the focus on the start of the reply, and the text grows downward from there.
Relevant code: MessageListTimelineAutoFollowEffects.kt — MessageListAutoFollowAppendEffect calls scrollController.snapToEnd, and the layout-affecting follow does the same once the streaming row grows (MessageListAutoFollowState).
Proposed behaviour
When a new assistant reply starts streaming and the reader is already at the end, anchor the top of that reply at the top of the viewport and let it grow downward without scrolling while it still fits. When it outgrows the screen, fall back to today's follow-the-tail behaviour (or hold the top and let the existing scroll-to-end pill offer the jump). If the reader has scrolled up, nothing changes, as now. Tool and shell output should keep following the tail. Android and iOS share this behaviour, so both ideally.
Optional: a "Follow: start of reply / end of reply" setting, defaulting to start.
Acceptance: send a prompt that produces a 2000+ token answer — after the first token the first line of the reply is visible at the top without manual scrolling, the answer grows downward, and a manual scroll up during streaming is never overridden.
Activity