Skip to content

Fix calculated height to avoid extra scrollbar for OSS::Select#691

Merged
JulienVannier66 merged 1 commit into
masterfrom
jv/vel-7967/audience-filter-target-dropdown-shows-double-scrollbars
Jul 22, 2026
Merged

Fix calculated height to avoid extra scrollbar for OSS::Select#691
JulienVannier66 merged 1 commit into
masterfrom
jv/vel-7967/audience-filter-target-dropdown-shows-double-scrollbars

Conversation

@JulienVannier66

@JulienVannier66 JulienVannier66 commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?

Fixes the max-height calculation of the items list in OSS::Select. The CSS variables used to subtract the input/button height, padding, and gap from the floating panel height were underestimating the real spacing, so the items container ended up taller than the available space. This created a second, inner scrollbar on top of the floating panel's own scrollbar.

What are the observable changes?

Screenshot from 2026-07-20 11-28-40 Screenshot from 2026-07-20 11-24-51 Screenshot from 2026-07-20 11-24-47 Screenshot from 2026-07-20 11-22-23

Good PR checklist

  • Title makes sense
  • Is against the correct branch
  • Only addresses one issue
  • Properly assigned
  • Added/updated tests
  • Added/updated documentation with Figma design link. Don't forget to replace "design" by "file" in the URL. For example https://www.figma.com/file/example
  • Migrated touched components to Glimmer Components
  • Properly labeled

@JulienVannier66 JulienVannier66 self-assigned this Jul 17, 2026
@linear-code

linear-code Bot commented Jul 17, 2026

Copy link
Copy Markdown

VEL-7967

@JulienVannier66
JulienVannier66 force-pushed the jv/vel-7967/audience-filter-target-dropdown-shows-double-scrollbars branch from 773e5f6 to 15d91c0 Compare July 20, 2026 09:30
@JulienVannier66 JulienVannier66 changed the title Remove extra scroll bar for infinite select Fix calculated height to avoid extra scrollbar for OSS::Select Jul 20, 2026
@JulienVannier66
JulienVannier66 merged commit 1a0597d into master Jul 22, 2026
5 checks passed
@JulienVannier66
JulienVannier66 deleted the jv/vel-7967/audience-filter-target-dropdown-shows-double-scrollbars branch July 22, 2026 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants