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
In the OpenCode macOS app, switching away from a tab and then back to it automatically scrolls the page to the bottom; please do not move my reading position. #45212
In the OpenCode macOS app, switching away from a tab and then back to it automatically scrolls the page to the bottom; please do not move my reading position.
Steps to reproduce are missing (marked as "No response"). Please describe the exact steps to trigger the scroll-to-bottom behavior.
Operating System is missing. Please specify your macOS version.
The description only repeats the title — please add any additional context, such as whether this happens every time, only after certain actions, or with specific session lengths.
Please edit this issue to address the above within 2 hours, or it will be automatically closed.
This issue might be a duplicate of existing issues. Please check:
Install source: downloaded from opencode.ai/download
Steps to reproduce
Open the OpenCode Desktop app and start (or open) a session that produces a long assistant reply (long enough to require scrolling).
Once the reply finishes, scroll up to read an earlier part of the answer (i.e., leave the viewport at a middle position, NOT at the bottom).
In the session tabs at the top, click a different session tab to switch away.
Click back to the original session tab.
Expected behavior
The viewport should stay at the scroll position I left it at (middle of the reply), so I can continue reading.
Actual behavior
The viewport jumps to the bottom of the reply every time I switch back to the tab. I have to manually scroll up again to find where I was. This breaks the reading flow and is especially painful when reviewing long transcripts across multiple sessions.
Notes
Reproducible every time, not tied to any specific model or provider.
Activity
github-actions commentedon Aug 26, 2026
This issue doesn't fully meet our contributing guidelines.
What needs to be fixed:
Please edit this issue to address the above within 2 hours, or it will be automatically closed.
This issue might be a duplicate of existing issues. Please check:
If you believe this was flagged incorrectly, please let a maintainer know.
scs0209 commentedon Aug 26, 2026
I'd like to try working on this if that's okay.
github-actions commentedon Aug 26, 2026
This issue has been automatically closed because it was not updated to meet our contributing guidelines within the 2-hour window.
Feel free to open a new issue that follows our issue templates.
cdz620 commentedon Sep 2, 2026
+1 on OpenCode Desktop (macOS Electron) v1.18.25 (macOS 15.x, arm64). The issue is still reproducible today.
Environment
1.18.25(Electron,/Applications/OpenCode.app)Steps to reproduce
Expected behavior
The viewport should stay at the scroll position I left it at (middle of the reply), so I can continue reading.
Actual behavior
The viewport jumps to the bottom of the reply every time I switch back to the tab. I have to manually scroll up again to find where I was. This breaks the reading flow and is especially painful when reviewing long transcripts across multiple sessions.
Notes
Scope terminal sidebar and session scroll state to each tab, closed completed on Sep 1, 2026) and fix(tui): isolate tab scroll state #42456 (fix(tui): isolate tab scroll state), but the Desktop/Electron timeline does not appear to have an equivalent fix yet.