Skip to content

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

Closed as not planned

Description

@yangyongyongyong

Description

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.

Plugins

No response

OpenCode version

1.18.22

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Activity

  1. github-actions commented on Aug 26, 2026

    @github-actions
    Contributor

    This issue doesn't fully meet our contributing guidelines.

    What needs to be fixed:

    • 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:

    If you believe this was flagged incorrectly, please let a maintainer know.

  2. scs0209 commented on Aug 26, 2026

    @scs0209

    I'd like to try working on this if that's okay.

  3. github-actions commented on Aug 26, 2026

    @github-actions
    Contributor

    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.

  4. cdz620 commented on Sep 2, 2026

    @cdz620

    +1 on OpenCode Desktop (macOS Electron) v1.18.25 (macOS 15.x, arm64). The issue is still reproducible today.

    Environment

    • OpenCode version: Desktop app 1.18.25 (Electron, /Applications/OpenCode.app)
    • OS: macOS 15.x Sequoia, Apple Silicon (arm64)
    • Install source: downloaded from opencode.ai/download

    Steps to reproduce

    1. Open the OpenCode Desktop app and start (or open) a session that produces a long assistant reply (long enough to require scrolling).
    2. 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).
    3. In the session tabs at the top, click a different session tab to switch away.
    4. 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.
    • This is specifically about the Desktop (Electron) app. The TUI apparently got a fix in Scope terminal sidebar and session scroll state to each tab #44152 (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.
    • Please consider persisting per-tab scroll offset (or at least not forcing scroll-to-bottom on tab focus) in the Electron app, same as the TUI fix.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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