fix: Improve CarBodySelect popover positioning and layout
- Added positioning strategy to ensure consistent dropdown rendering - Adjusted popover gutter for better visual spacing - Set relative positioning for the container box
This commit is contained in:
parent
d0dc2ded1b
commit
82ae7b2e5a
@ -40,12 +40,14 @@ export const CarBodySelect = forwardRef<HTMLInputElement, CarBodySelectProps>(
|
||||
});
|
||||
|
||||
return (
|
||||
<Box width='100%'>
|
||||
<Box width='100%' pos='relative'>
|
||||
<Popover
|
||||
isOpen={isOpen}
|
||||
autoFocus={false}
|
||||
placement='bottom-start'
|
||||
matchWidth
|
||||
gutter={2}
|
||||
strategy="fixed"
|
||||
>
|
||||
<PopoverAnchor>
|
||||
<Input
|
||||
|
Loading…
x
Reference in New Issue
Block a user