We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7feec70 commit ce031b2Copy full SHA for ce031b2
src/components/Dropdown/Dropdown.tsx
@@ -90,11 +90,13 @@ type DropdownSubContentProps = DropdownMenu.MenuSubContentProps &
90
MainDropdownProps &
91
ArrowProps;
92
93
+ console.log("Max height: ", )
94
const DropdownMenuContent = styled(GenericMenuPanel)`
95
min-width: ${({ theme }) => theme.click.genericMenu.item.size.minWidth};
96
flex-direction: column;
97
z-index: 1;
- overflow-y: auto;
98
+ overflow-y: scroll;
99
+ max-height: calc((var(--radix-${({ $type }) => $type}-content-available-height) - 100px))
100
`;
101
102
const DropdownContent = ({
0 commit comments