Skip to content

fix(ui): the dropdown menu is at least as wide as its trigger - #1456

Merged
ZhuchkaTriplesix merged 1 commit into
devfrom
issue/1444-dropdown-menu-width
Oct 11, 2026
Merged

ZhuchkaTriplesix merged 1 commit into
devfrom
issue/1444-dropdown-menu-width

Conversation

@ZhuchkaTriplesix

Copy link
Copy Markdown
Member

Fixes #1444.

The menu of QueryaDropdown was as wide as its longest item (Preferences, Theme mode: trigger ~360 px, menu ~185 px). The trigger is now keyed and measured on open, and its width is the menu's minimum width; the maximum is still bounded by the viewport.

Test: a 320 px dropdown with short items opens a menu that is at least 320 px wide.

The trigger is measured when the menu opens and becomes the menu's
minimum width, so the open menu lines up with the field.

Refs #1444
@github-actions github-actions Bot added bug Something isn't working frontend Theme parser epic label: frontend ui User interface components and widgets P3 Low priority / Polish & Enhancements labels Oct 11, 2026
@ZhuchkaTriplesix
ZhuchkaTriplesix merged commit 5ed10fc into dev Oct 11, 2026
13 checks passed
@ZhuchkaTriplesix
ZhuchkaTriplesix deleted the issue/1444-dropdown-menu-width branch October 11, 2026 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working frontend Theme parser epic label: frontend P3 Low priority / Polish & Enhancements ui User interface components and widgets

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant