[Bug]: Right tab should persist state and scroll position
Open
Nobody has claimed this yet.
bug
needs-triage
- Dominant language
- TypeScript
- Stars
- 23k
- Forks
- 5.9k
- Avg merge
- 11h 14m
- Merged PRs (30d)
- 357
Description
Before submitting
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area
apps/desktop
Steps to reproduce
- Open right diff tab
- Scroll vertical and fold some files
- Go to any another tab (files, browser, etc)
- Go back to diff tab.
Expected behavior
I think that right tabs should preserve state. Keeping current scroll position and correct fold/unfold entries.
Actual behavior
Tab is back to initial state, with scrollposition at 0 and all file unfolded again.
Impact
Minor bug or occasional failure
Version or commit
0.0.36
Environment
Linux (Omarchy 4.0.1)
Logs or stack traces
Screenshots, recordings, or supporting files
screenrecording-2026-08-30_08-45-20.mp4
Workaround
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in apps/desktop by reproducing the right diff tab flow: scroll, fold files, switch tabs, and return. Trace how the tab state is restored and verify that the scroll position and fold/unfold entries remain unchanged after switching away and back.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100