Commit 638c04e1 by Peter Holmberg

using percentage to not hide search when smaller screen

parent 5916f769
......@@ -34,7 +34,7 @@ export default class UnitPicker extends PureComponent<Props> {
const styles = {
...ResetStyles,
menu: () => ({
maxHeight: '500px',
maxHeight: '75%',
overflow: 'scroll',
}),
menuList: () =>
......@@ -54,6 +54,7 @@ export default class UnitPicker extends PureComponent<Props> {
className="width-20 gf-form-input--form-dropdown"
defaultValue={value}
isSearchable={true}
menuShouldScrollIntoView={false}
options={groupOptions}
placeholder="Choose"
onChange={onSelected}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment