♻️ Change overflow:scroll to overflow:auto

This commit is contained in:
Baptiste Arnaud
2024-01-25 16:35:16 +01:00
parent 0f245b8e57
commit ab010657b2
29 changed files with 28 additions and 55 deletions

View File

@@ -78,7 +78,7 @@ export const DropdownList = <T extends readonly any[]>({
</MenuButton>
<Portal>
<MenuList maxW="500px" zIndex={1500}>
<Stack maxH={'35vh'} overflowY="scroll" spacing="0">
<Stack maxH={'35vh'} overflowY="auto" spacing="0">
{items.map((item) => (
<MenuItem
key={item as unknown as string}