Skip to content

[Bug] Dropdown menus in Settings > General become mispositioned after scrolling #12059

@GuiLing-zzz

Description

@GuiLing-zzz

Description

In the Settings page under the "General" tab, all dropdown menus (Language, Appearance, Theme, Font, etc.) become mispositioned after scrolling the page while the dropdown is open. The dropdown menu detaches from its trigger button and floats at an incorrect position.

Steps to Reproduce

  1. Open Settings → General
  2. Click any dropdown (e.g., Theme) to expand the menu
  3. While keeping the dropdown menu open, scroll the settings page
  4. Observe the dropdown menu position

Expected Behavior

The dropdown menu should either:

  • Follow the scroll and stay correctly positioned relative to its trigger button, OR
  • Automatically close when the page is scrolled

Actual Behavior

The dropdown menu position remains fixed and does not update with scroll, causing it to detach from the trigger button and float in an incorrect location (e.g., top-right corner of the window).

Environment

  • OpenCode Desktop version: v1.1.50
  • OS: Windows 11
Image Image

Metadata

Metadata

Assignees

Labels

webRelates to opencode on web / desktopwindows

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions