Skip to content

[Desktop] Tab switch resets scroll position — returns to bottom instead of where you left off #42213

Description

@shiroe120

Description

In the desktop app, scrolling to a position in a session, switching to another tab, then switching back resets the view to the bottom of the conversation instead of restoring where I left off. Makes it impossible to continue reading long output or compare content across tabs.

Steps to reproduce

  1. Open a session with a long conversation history
  2. Scroll up to an earlier position (e.g. middle of the output)
  3. Switch to another tab
  4. Switch back to the original tab

Expected behavior

Restore to the scroll position where I left. If the user scrolled up manually, that position should be preserved on return.

Actual behavior

View resets, usually jumping straight to the bottom.

OpenCode version

1.18.5

Operating System

macOS 26.5.2

Related

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