Combobox: Increase min height of the menu (#96327)
This commit is contained in:
1 parent
1fcc0a8454
commit
6414bcb6aa
1 file changed
+1
-1
@@ -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 });
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user