File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
src/Shared/Components/SelectPicker Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -141,6 +141,7 @@ const SelectPicker = forwardRef(
141
141
disabledTippyContent,
142
142
showSelectedOptionsCount = false ,
143
143
menuSize,
144
+ menuPosition = 'fixed' ,
144
145
variant = SelectPickerVariantType . DEFAULT ,
145
146
disableDescriptionEllipsis = false ,
146
147
multiSelectProps = { } ,
@@ -288,7 +289,7 @@ const SelectPicker = forwardRef(
288
289
} }
289
290
styles = { selectStyles }
290
291
menuPlacement = "auto"
291
- menuPosition = "fixed"
292
+ menuPosition = { menuPosition }
292
293
menuShouldScrollIntoView
293
294
backspaceRemovesValue
294
295
aria-errormessage = { errorElementId }
@@ -320,7 +321,7 @@ const SelectPicker = forwardRef(
320
321
} }
321
322
styles = { selectStyles }
322
323
menuPlacement = "auto"
323
- menuPosition = "fixed"
324
+ menuPosition = { menuPosition }
324
325
menuShouldScrollIntoView
325
326
backspaceRemovesValue = { false }
326
327
aria-errormessage = { errorElementId }
Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ export type SelectPickerProps = Pick<
59
59
| 'required'
60
60
| 'isOptionDisabled'
61
61
| 'placeholder'
62
+ | 'menuPosition'
62
63
| 'getOptionLabel'
63
64
| 'getOptionValue'
64
65
| 'isOptionSelected'
You can’t perform that action at this time.
0 commit comments