mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Combobox: Increase min height of the menu (#96327)
This commit is contained in:
parent
1fcc0a8454
commit
6414bcb6aa
@ -41,7 +41,7 @@ export const useComboboxFloat = (
|
||||
const preferredMaxHeight = availableHeight - POPOVER_PADDING;
|
||||
|
||||
const width = Math.max(preferredMaxWidth, 0);
|
||||
const height = Math.min(Math.max(preferredMaxHeight, OPTION_HEIGHT), POPOVER_MAX_HEIGHT);
|
||||
const height = Math.min(Math.max(preferredMaxHeight, OPTION_HEIGHT * 6), POPOVER_MAX_HEIGHT);
|
||||
|
||||
setPopoverMaxSize({ width, height });
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user