Fix dropdown width (#11536)

Fix regressions due to dropdown refactoring
This commit is contained in:
Charles Bochet
2025-04-11 14:59:57 +02:00
committed by GitHub
parent fe98deef4e
commit 9da5cca82a
5 changed files with 7 additions and 13 deletions

View File

@ -152,10 +152,7 @@ export const Select = <Value extends SelectValue>({
<DropdownMenuSeparator />
)}
{!!filteredOptions.length && (
<DropdownMenuItemsContainer
hasMaxHeight
width={dropDownMenuWidth}
>
<DropdownMenuItemsContainer hasMaxHeight width={'auto'}>
{filteredOptions.map((option) => (
<MenuItemSelect
key={`${option.value}-${option.label}`}