We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f0893b6 commit bc3c444Copy full SHA for bc3c444
1 file changed
src/components/shared/DropDown.tsx
@@ -33,6 +33,7 @@ const DropDown = <T, >({
33
creatable = false,
34
disabled = false,
35
menuIsOpen = undefined,
36
+ menuPlacement = "auto",
37
handleMenuIsOpen = undefined,
38
customCSS,
39
}: {
@@ -115,7 +116,7 @@ const DropDown = <T, >({
115
116
117
118
let commonProps: Props = {
- menuPlacement: 'auto',
119
+ menuPlacement: menuPlacement ?? 'auto',
120
tabIndex: tabIndex,
121
theme: (theme) => (dropDownSpacingTheme(theme)),
122
styles: style,
0 commit comments