1031 workflows menu fixes (#12618)
## Before (not exhaustive) <img width="520" alt="image" src="https://github.com/user-attachments/assets/642365c5-f359-4ad3-8ba3-d7bb9c7d91e4" /> <img width="522" alt="image" src="https://github.com/user-attachments/assets/0819717f-84c6-436c-b9f4-20a1964cd565" /> <img width="528" alt="image" src="https://github.com/user-attachments/assets/240bf181-ec37-4e25-9fdb-c264a680abcc" /> <img width="525" alt="image" src="https://github.com/user-attachments/assets/0dfd55c1-dfbd-47ee-8741-977b5e57fa0a" /> ## After (not exhaustive) <img width="511" alt="image" src="https://github.com/user-attachments/assets/199b6e6e-be1d-4b75-8df6-d65ff05bee58" /> <img width="512" alt="image" src="https://github.com/user-attachments/assets/a92f67a8-ed58-4c4f-b401-07765158030f" /> <img width="522" alt="image" src="https://github.com/user-attachments/assets/ba3ae73a-4650-4f7f-a62a-980e6a2d21d1" /> <img width="518" alt="image" src="https://github.com/user-attachments/assets/97946870-4fba-4898-8381-9087df0b9ac4" />
This commit is contained in:
@ -25,6 +25,7 @@ type MultiSelectInputProps = {
|
||||
onCancel?: () => void;
|
||||
options: SelectOption[];
|
||||
onOptionSelected: (value: FieldMultiSelectValue) => void;
|
||||
dropdownWidth?: number;
|
||||
};
|
||||
|
||||
export const MultiSelectInput = ({
|
||||
@ -34,6 +35,7 @@ export const MultiSelectInput = ({
|
||||
hotkeyScope,
|
||||
onCancel,
|
||||
onOptionSelected,
|
||||
dropdownWidth,
|
||||
}: MultiSelectInputProps) => {
|
||||
const { resetSelectedItem } = useSelectableList(
|
||||
selectableListComponentInstanceId,
|
||||
@ -102,7 +104,11 @@ export const MultiSelectInput = ({
|
||||
selectableItemIdArray={optionIds}
|
||||
hotkeyScope={hotkeyScope}
|
||||
>
|
||||
<DropdownContent ref={containerRef} selectDisabled>
|
||||
<DropdownContent
|
||||
ref={containerRef}
|
||||
selectDisabled
|
||||
widthInPixels={dropdownWidth}
|
||||
>
|
||||
<DropdownMenuSearchInput
|
||||
value={searchFilter}
|
||||
onChange={(event) =>
|
||||
|
||||
Reference in New Issue
Block a user