Skip to content

ui: Fix operator dropdown not opening in SimpleMatchers#6212

Merged
yomete merged 1 commit into
mainfrom
operator-dropdown
Feb 24, 2026
Merged

ui: Fix operator dropdown not opening in SimpleMatchers#6212
yomete merged 1 commit into
mainfrom
operator-dropdown

Conversation

@yomete

@yomete yomete commented Feb 24, 2026

Copy link
Copy Markdown
Contributor

The virtualizer needs a container height to calculate which items to show. Without min-height, the empty container had 0 height, causing the virtualizer to render 0 items for the operator dropdown

This bug particularly showed up for the operator select dropdown because it doesn't have a search box like the label names and values dropdowns do. The search box triggers a .focus() call which forces a browser reflow, allowing the virtualizer to re-measure the container after it's rendered.

Before
image

After
image

Add min-h-[100px] to dropdown container so the virtualizer can measure
its dimensions on first render.

The virtualizer needs container height to calculate which items to show.
Without min-height, the empty container had 0 height, causing the
virtualizer to render 0 items (chicken-and-egg problem).
@yomete
yomete requested a review from a team as a code owner February 24, 2026 17:02
@alwaysmeticulous

alwaysmeticulous Bot commented Feb 24, 2026

Copy link
Copy Markdown

✅ Meticulous spotted 0 visual differences across 422 screens tested: view results.

Meticulous evaluated ~5 hours of user flows against your PR.

Expected differences? Click here. Last updated for commit 532bf73. This comment will update as new commits are pushed.

@yomete
yomete enabled auto-merge (squash) February 24, 2026 17:12
@yomete
yomete disabled auto-merge February 24, 2026 17:41
@yomete
yomete merged commit 47736d2 into main Feb 24, 2026
37 of 38 checks passed
@yomete
yomete deleted the operator-dropdown branch March 11, 2026 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants