Skip to content

Conversation

@duncanmcclean
Copy link
Member

@duncanmcclean duncanmcclean commented Jan 7, 2026

This pull request attempts to fix an issue with the Combobox dropdown where it could be squashed the near the viewport edge, instead of alternating to the opposite position.

This PR fixes it by adding a min-height to the dropdown's content and reducing the spacing between the top/bottom of the dropdown and the edge of the viewport.

Fixes #13365

Before

CleanShot.2026-01-07.at.12.29.52.mp4

After

CleanShot.2026-01-07.at.12.29.03.mp4

@duncanmcclean duncanmcclean changed the title [6.x] Avoid squished options near viewport edge [6.x] Avoid squished Combobox options near viewport edge Jan 7, 2026
@duncanmcclean duncanmcclean linked an issue Jan 7, 2026 that may be closed by this pull request
@duncanmcclean duncanmcclean changed the title [6.x] Avoid squished Combobox options near viewport edge [6.x] Avoid squashed Combobox options near viewport edge Jan 7, 2026
@jasonvarga jasonvarga merged commit 3d3e1ec into master Jan 7, 2026
15 checks passed
@jasonvarga jasonvarga deleted the squished-comboboxes branch January 7, 2026 21:15
jasonvarga added a commit that referenced this pull request Jan 7, 2026
@jasonvarga
Copy link
Member

I reverted this in #13461. We should find an alternative.

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.

[6.x] Comboxbox can be squished when near viewport edge

3 participants