fix: select atom component relative style
Signed-off-by: Piyush Gupta <piyushguptaa2z123@gmail.com>
This commit is contained in:
committed by
Sacha Al Himdani
parent
d54da02a90
commit
e077b5866f
@@ -119,6 +119,7 @@ export function Select<T>({
|
||||
});
|
||||
|
||||
return (
|
||||
<div className="relative">
|
||||
<Root
|
||||
defaultOpen={defaultOpen}
|
||||
open={open}
|
||||
@@ -153,7 +154,9 @@ export function Select<T>({
|
||||
"var(--radix-select-content-available-height)",
|
||||
...dropdownProps?.style,
|
||||
}}
|
||||
className={content({ className: dropdownProps?.className })}
|
||||
className={content({
|
||||
className: dropdownProps?.className,
|
||||
})}
|
||||
>
|
||||
{onSearch && (
|
||||
<Input
|
||||
@@ -179,6 +182,7 @@ export function Select<T>({
|
||||
</Content>
|
||||
</Portal>
|
||||
</Root>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user