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:
RustamRu 2025-03-11 23:36:55 +03:00
parent d0dc2ded1b
commit 82ae7b2e5a

View File

@ -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