Skip to content

Commit

Permalink
Fix z-index issue on dropdown (#6160)
Browse files Browse the repository at this point in the history
Recently, we've forced all dropdown menu to be displayed in portal. This
loses the z-index hieararchy structure and forces us to specify a higher
z-index in order for dropdown menus to be displayed on top
  • Loading branch information
charlesBochet authored Jul 8, 2024
1 parent 9ba2110 commit 54794b5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const StyledDropdownMenu = styled.div<{
display: flex;
flex-direction: column;
z-index: 1;
z-index: 30;
width: ${({ width = 160 }) =>
typeof width === 'number' ? `${width}px` : width};
`;
Expand Down

0 comments on commit 54794b5

Please sign in to comment.