GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [Bug]: Diff tab loses scroll position when switching threads · Issue #11571 · pingdotgg/t3code

[Bug]: Diff tab loses scroll position when switching threads #11571

New issue
Copy link
New issue
Copy link
Closed
#35090
Closed
[Bug]: Diff tab loses scroll position when switching threads#11571
#35090
Copy link

Description

@andykrchnk
andykrchnk
opened on Sep 13, 2026
Issue body actions

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 two agent threads that both have a long diff in the Diff tab.
  2. In thread A, open the Diff tab and scroll down to a later file or hunk. Leave it there.
  3. Switch to thread B.
  4. Switch back to thread A.

Expected behavior

The Diff tab in thread A should restore the last scroll position, so review can continue from the same place.

Actual behavior

The Diff tab jumps back to the top. The previous scroll position is discarded, so a long diff has to be scrolled through again after every thread switch.

This happens while staying on the Diff tab; the trigger is switching threads, not switching right-panel tabs.

Related: #8759 covers losing Diff scroll/fold state when switching to another right-panel tab (Files, Browser, etc.) in the same thread. PR #8826 is open for that path and keys some viewport state by environment/thread, but the thread-switch roundtrip described here is still broken in current use.

Impact

Major degradation or frequent failure

It is consistent and especially painful on long diffs, which are common when reviewing agent work across multiple threads.

Version or commit

Current T3 Code (observed 2026-09-13)

Environment

Linux (Ubuntu 26.04), T3 Code web/desktop UI

Workaround

Stay in one thread until the review is finished, or re-scroll the Diff tab after every switch.

Activity

  1. Gigioxx
    added a commit that references this issue on Oct 1, 2026

    fix(web): restore diff scroll position when switching threads

    This issue will close once commit d8297ed is merged into the 'main' branch.
    d8297ed
  2. ShriD5
    added a commit that references this issue on Oct 15, 2026

    fix(ui): keep diff scroll and folds per chat across re-parses

    3345b4a
  3. juliusmarminge commented on Oct 22, 2026

    @juliusmarminge
    juliusmarminge
    on Oct 22, 2026 – with GitCafe Production
    Member
    More actions

    Existing fix: #11631. It covers this exact Diff → thread B → thread A round trip and includes before/after web recordings. Linked it as the closing PR; no duplicate PR opened. The PR remains open for maintainer approval. This triage pass checked existing work and did not independently rerun the browser reproduction.

  4. juliusmarminge
    closed this as completedin #35090on Nov 12, 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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402792 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.