Skip to content

[Bug]: Chat threads can open or finish above the latest message #5903

Description

@LordMerc

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/web

Steps to reproduce

  1. Open an existing thread with enough history to overflow the viewport.
  2. Scroll upward in one thread, then switch to another long existing thread.
  3. Alternatively, remain near the bottom while an agent produces a long response containing markdown, tool output, images, or other content whose height changes after rendering.
  4. Observe the timeline after hydration or the response finishes.
  5. Repeat the thread switch if necessary; the behavior is timing-dependent.

Expected behavior

Opening or switching to a thread should settle at its latest content.

While the reader is near the bottom, new agent content should continue following naturally. Intentionally scrolling upward should preserve the reading position, and returning to the bottom should restore follow behavior.

Actual behavior

The viewport can remain above the newest message after opening a thread or after a large response finishes rendering. The user must manually scroll down or use “Scroll to end” to continue the conversation.

Impact

Major degradation or frequent failure

Version or commit

main @ 02f4ce5

Environment

T3 Code web client on Windows. The behavior is provider-independent and affects the shared web timeline used by web and desktop.

Logs or stack traces

No associated exception or console error.

Screenshots, recordings, or supporting files

  • Before: attach screenshot showing the viewport stranded above the latest response.
  • Reproduction: attach a short recording of opening a long thread or completing a long response.

Workaround

Manually scroll to the bottom or use the “Scroll to end” button.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions