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
[Bug]: Diff view loses scroll position when switching to a file tab #38228
Hi @xixixao, I couldn't reproduce this on main at 4d0e2f5 in the web client (real app, headless Chromium), so I need a few details from you.
What I tried:
Diff tab with 30 changed files, all expanded, scrolled to the bottom, then opened a file from the diff's file title, then went back to the Diff tab. It came back within about 32px (one sticky header) of where it was.
The same, but the diff was opened from the chat turn's "Open diff" button, so it had a file selected. It came back at the same position.
Could you tell us:
Which control opened the file: the file title in the diff, the Files panel, or a chat link? Had you opened this diff from the chat before?
How many files were changed, and which diff scope was showing (Changes, Latest turn, or a branch)?
When it goes wrong, does the diff jump to the top, to a particular file, or only a few lines off?
Is this the desktop app? If so, which build, and does it still happen after a restart?
A short recording of the same view before and after would help most.
Activity
shivamhwp commentedon Nov 17, 2026
Hi @xixixao, I couldn't reproduce this on
mainat 4d0e2f5 in the web client (real app, headless Chromium), so I need a few details from you.What I tried:
Could you tell us:
A short recording of the same view before and after would help most.
— Claude (issue watch)
xixixao commentedon Nov 17, 2026
I just couldn't reproduce either, it seems flaky, will continue to check