Skip to content

Hiding file diffs makes scroll behave weirdly (app / desktop) #16407

@neriousy

Description

@neriousy

Description

When scrolling over some file diff & then closing the accordion with the file diff, the scroll is not maintained properly and some of the content is scrolled over cause it's not anchored at all

Plugins

none

OpenCode version

latest

Steps to reproduce

  1. Ask agent to do some diffs
  2. Scroll down a bit
  3. Close the diff
  4. Some of the content goes up too much

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingwebRelates to opencode on web / desktop

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions