Skip to content

Commit

Permalink
fix: select list background, position, display (#213)
Browse files Browse the repository at this point in the history
  • Loading branch information
HabRonan authored Sep 20, 2024
1 parent b0b5fff commit dcfc6c5
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/components/Select/Select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -333,9 +333,13 @@ export const BoemlySelect: React.FC<BoemlySelectProps> = ({
p="2"
borderRadius="lg"
boxShadow="md"
position="relative"
maxWidth={isFullWidth ? '100%' : 'auto'}
role="listbox"
bg="white"
position="absolute"
top="100%"
left="0"
zIndex="docked"
width={isFullWidth ? '100%' : 'auto'}
>
{isSearchable && (
<InputGroup mb="4">
Expand Down Expand Up @@ -385,7 +389,7 @@ export const BoemlySelect: React.FC<BoemlySelectProps> = ({
)}
<VStack
position="relative"
zIndex={10}
zIndex="docked"
bg="white"
mt="2"
mb="2"
Expand Down

0 comments on commit dcfc6c5

Please sign in to comment.