Skip to content

Commit e7f35fe

Browse files
committed
fix: set menuPlacement='top' to open dropdown upward
1 parent fa48c7a commit e7f35fe

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
/node_modules
22
/build
3+
.idea/

src/components/shared/DropDown.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ const DropDown = <T, >({
114114

115115

116116
let commonProps: Props = {
117+
menuPlacement: 'auto',
117118
tabIndex: tabIndex,
118119
theme: (theme) => (dropDownSpacingTheme(theme)),
119120
styles: style,

0 commit comments

Comments
 (0)