paragon icon indicating copy to clipboard operation
paragon copied to clipboard

Control the maximum number of items displayed in the Dropdown menu

Open khudym opened this issue 7 months ago • 0 comments

Dropdown menu now displays all items at once. Therefore, the list may go beyond the screen.

Screenshot 2024-07-12 at 16 27 44

I suggest adding new prop dropdownItemsLimit or maxDropdownItems, as example, that will indicate the maximum number of items that will be displayed in the dropdown menu at once.

As an alternative, it is possible to specify the default maximum height of the menu, as for example in the SelectMenu component

khudym avatar Jul 12 '24 15:07 khudym