zendeskgarden / react-components

:seedling: garden React components
https://zendeskgarden.github.io/react-components/
Apache License 2.0
1.1k stars 89 forks source link

fix(dropdowns.next): `Combobox` with `isBare` option never shows horiz scrollbar to preserve styling #1872

Closed ze-flo closed 3 months ago

ze-flo commented 3 months ago

Description

The styling of <Combobox isBare> would break for users with OS settings set to always show scrollbars.

Screenshot 2024-07-24 at 10 35 45 AM

This update fixes it by setting the overflow-y of the input wrapper to visible when isBare is enabled. After fix:

isBare

Screenshot 2024-07-26 at 8 40 46 AM

isBare and isMultiSelectable

Screenshot 2024-07-26 at 8 39 42 AM

Checklist