Skip to content

Commit 228e951

Browse files
authored
Merge pull request #355 from csandman/fix/menu-list-positioning
2 parents baedc04 + e92624b commit 228e951

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/chakra-components/menu.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ export const MenuList = <
7777
const initialCss: SystemStyleObject = {
7878
...selectStyles.content,
7979
maxHeight: `${maxHeight}px`,
80+
position: "relative", // required for offset[Height, Top] > keyboard scroll
8081
};
8182

8283
const css = chakraStyles?.menuList

0 commit comments

Comments
 (0)