diff --git a/src/Dropdowns/Dropdown/Dropdown.tsx b/src/Dropdowns/Dropdown/Dropdown.tsx index baa8a4b..103ed96 100644 --- a/src/Dropdowns/Dropdown/Dropdown.tsx +++ b/src/Dropdowns/Dropdown/Dropdown.tsx @@ -84,7 +84,8 @@ export interface DropdownProps extends Omit itemClassName?: string valueClassName?: string listClassName?: string - widthExpand?: boolean + widthExpand?: boolean // expand to width of button + widthExpandMax?: boolean // does not expand past button width searchFields?: string[] minSelected?: number maxSelected?: number @@ -144,6 +145,7 @@ export const Dropdown = forwardRef( onAddItem, onOpen, widthExpand = true, + widthExpandMax = false, align = 'left', multiSelect, multiSelectClose = false, @@ -925,7 +927,7 @@ export const Dropdown = forwardRef( defer >