[WEB-5072] chore: propel combobox improvement #7899
This commit is contained in:
parent
f6677f252f
commit
3c389e2e50
1 changed files with 3 additions and 1 deletions
|
|
@ -39,6 +39,7 @@ export interface ComboboxOptionsProps {
|
|||
maxHeight?: "lg" | "md" | "rg" | "sm";
|
||||
inputClassName?: string;
|
||||
optionsContainerClassName?: string;
|
||||
positionerClassName?: string;
|
||||
}
|
||||
|
||||
export interface ComboboxOptionProps {
|
||||
|
|
@ -237,10 +238,11 @@ function ComboboxOptions({
|
|||
inputClassName,
|
||||
optionsContainerClassName,
|
||||
emptyMessage,
|
||||
positionerClassName,
|
||||
}: ComboboxOptionsProps) {
|
||||
const { multiSelect } = useComboboxContext();
|
||||
return (
|
||||
<Popover.Panel sideOffset={8} className={cn(className)}>
|
||||
<Popover.Panel sideOffset={8} className={cn(className)} positionerClassName={positionerClassName}>
|
||||
<Command>
|
||||
{showSearch && <Command.Input placeholder={searchPlaceholder} className={cn(inputClassName)} />}
|
||||
<Command.List
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue