Skip to content

[Bug]: Chat does not auto-scroll to most recent message #1148

Closed as not planned

Description

@samanthamsong

Description

When new messages arrive in chat, the view does not automatically scroll to the most recent message. The user has to manually scroll down to see new responses, which is disruptive during active conversations.

Expected Behavior

The chat view should auto-scroll to the bottom when:

  • A new assistant message arrives or streams in
  • The user sends a message
  • The user is already at or near the bottom of the conversation

If the user has scrolled up to read earlier messages, auto-scroll should be suppressed (standard chat UX pattern). A "scroll to bottom" button should appear when new messages arrive while scrolled up.

Actual Behavior

Chat stays at the current scroll position when new messages arrive. The user must manually scroll down every time to see the latest response.

Impact

This is a core chat UX expectation. Every major chat app (Teams, Slack, iMessage, ChatGPT) auto-scrolls on new messages. Missing this makes the app feel broken during normal use.

Activity

  1. added
    P2
    impact:ux-friction
    on Aug 11, 2026
  2. added
    clawsweeper:needs-maintainer-review
    clawsweeper:needs-product-decision
    clawsweeper:no-new-fix-pr
    issue-rating: 🦪 silver shellfish
    on Aug 11, 2026
  3. clawsweeper commented on Aug 11, 2026

    @clawsweeper

    Codex review: this still needs some work. Reviewed October 2, 2026, 1:48 AM ET / 05:48 UTC.

    Summary
    Keep open: reliable scrolling is not demonstrated, and the collaborator-authored issue requires maintainer handling. The async-layout report was explicitly folded into this issue; recent related native-app verification still reports final-message visibility failures.

    Reproducibility: unclear. on current main: source exposes the suspected follow-state boundary, but native async-layout event ordering has not been verified. Related real-app failures concern initial or restored final-row placement rather than proving this exact incoming-message scenario.

    Root-cause cluster
    Relationship: canonical
    Canonical: #1148
    Summary: A collaborator explicitly consolidated the async-growth report here; session-return and native-hang reports remain distinct investigations.

    Members:

    Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

    Maintainer decision needed

    Question Recommendation
    Should the conditional return-to-bottom control be included with the scrolling repair or tracked separately? Separate reliability from recovery UX: Investigate the existing follow contract first and track the conditional recovery control as a focused UX follow-up.

    Why: Existing source and tests define automatic following, but do not define the requested new control’s visibility and interaction contract.

    Next step
    Retain collaborator ownership, confirm native streaming and async-growth behavior on main, and separate the recovery-control decision before commissioning a bounded repair.

    Review details

    Best possible solution:

    Preserve reader intent through streaming and async row growth, navigate to the actual final row, and provide a clear recovery control without introducing layout retry loops.

    Do we have a high-confidence way to reproduce the issue?

    Unclear on current main: source exposes the suspected follow-state boundary, but native async-layout event ordering has not been verified. Related real-app failures concern initial or restored final-row placement rather than proving this exact incoming-message scenario.

    Is this the best way to solve the issue?

    Unclear: a focused follow-state repair is preferable to replacing virtualization or adding blind layout retries, but its mechanism needs native confirmation. The requested recovery control should have an explicit UX contract.

    AGENTS.md: found and applied where relevant.

    Remaining risk / open question:

    • Current-main native observations have not established whether async content growth drops follow state or which event ordering causes it.
    • The conditional return-to-bottom control adds UX behavior that is not supplied by the existing navigation rail.

    Codex review notes: model internal, reasoning medium; reviewed against 85f66247850e.

    Label changes

    Label changes:

    • add issue-rating: 🦐 gold shrimp: Current issue advisory state selects this label.
    • add clawsweeper:needs-info: Current issue advisory state selects this label.
    • remove issue-rating: 🐚 platinum hermit: Current issue advisory state no longer selects this label.
    • remove clawsweeper:needs-live-repro: Current issue advisory state no longer selects this label.

    Label justifications:

    • P1: The reported failure disrupts normal active chat by requiring repeated manual scrolling to see responses.
    • impact:ux-friction: Users can recover by scrolling, but lose the expected automatic following during conversation.
    Evidence reviewed

    What I checked:

    Likely related people:

    • karkarl: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
    • samanthamsong: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
    • Barbara Kudiess: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
    How this review workflow works
    • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
    • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
    • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
    • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
    • Maintainers can also comment @clawsweeper review to request a fresh review only.
    • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
    • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
    • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.
  4. added
    P1
    and removed
    P2
    on Sep 4, 2026
  5. added
    clawsweeper:needs-live-repro
    issue-rating: 🐚 platinum hermit
    and removed
    issue-rating: 🦪 silver shellfish
    on Sep 4, 2026
  6. added this to the 9/30 MXC Release milestone on Sep 4, 2026
  7. github-actions commented on Sep 19, 2026

    @github-actions
    Contributor

    This issue has been automatically marked as stale due to inactivity.
    Please add updated OpenClaw Windows details or it will be closed.

  8. removed this from the MXC Update milestone on Sep 22, 2026
  9. added
    clawsweeper:needs-info
    issue-rating: 🦐 gold shrimp
    and removed
    issue-rating: 🐚 platinum hermit
    clawsweeper:needs-live-repro
    on Oct 2, 2026
  10. github-actions commented on Oct 17, 2026

    @github-actions
    Contributor

    This issue has been automatically marked as stale due to inactivity.
    Please add updated OpenClaw Windows details or it will be closed.

  11. github-actions commented on Oct 24, 2026

    @github-actions
    Contributor

    Closing due to inactivity.
    If this still affects OpenClaw Windows, open a new issue with the current version, logs, and fresh reproduction details.

  12. locked as resolved and limited conversation to collaborators on Oct 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1clawsweeper:needs-infoclawsweeper:needs-maintainer-reviewclawsweeper:needs-product-decisionclawsweeper:no-new-fix-primpact:ux-frictionissue-rating: 🦐 gold shrimpstale

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions