|
@@ -34,7 +34,7 @@ export default class UnitPicker extends PureComponent<Props> {
|
|
|
const styles = {
|
|
const styles = {
|
|
|
...ResetStyles,
|
|
...ResetStyles,
|
|
|
menu: () => ({
|
|
menu: () => ({
|
|
|
- maxHeight: '500px',
|
|
|
|
|
|
|
+ maxHeight: '75%',
|
|
|
overflow: 'scroll',
|
|
overflow: 'scroll',
|
|
|
}),
|
|
}),
|
|
|
menuList: () =>
|
|
menuList: () =>
|
|
@@ -54,6 +54,7 @@ export default class UnitPicker extends PureComponent<Props> {
|
|
|
className="width-20 gf-form-input--form-dropdown"
|
|
className="width-20 gf-form-input--form-dropdown"
|
|
|
defaultValue={value}
|
|
defaultValue={value}
|
|
|
isSearchable={true}
|
|
isSearchable={true}
|
|
|
|
|
+ menuShouldScrollIntoView={false}
|
|
|
options={groupOptions}
|
|
options={groupOptions}
|
|
|
placeholder="Choose"
|
|
placeholder="Choose"
|
|
|
onChange={onSelected}
|
|
onChange={onSelected}
|