Skip to content

Commit 1934266

Browse files
authored
fix(Dropdown): don't show scrollbar when not needed (#545)
1 parent 7fcd5b1 commit 1934266

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Dropdown/Dropdown.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ const DropdownMenuContent = styled(GenericMenuPanel)`
9494
min-width: ${({ theme }) => theme.click.genericMenu.item.size.minWidth};
9595
flex-direction: column;
9696
z-index: 1;
97-
overflow-y: scroll;
97+
overflow-y: auto;
9898
max-height: calc(
9999
(var(--radix-${({ $type }) => $type}-content-available-height) - 100px)
100100
);

0 commit comments

Comments
 (0)