Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Control the maximum number of items displayed in the Dropdown menu #3133

Open
khudym opened this issue Jul 12, 2024 · 0 comments
Open

Control the maximum number of items displayed in the Dropdown menu #3133

khudym opened this issue Jul 12, 2024 · 0 comments

Comments

@khudym
Copy link
Contributor

khudym commented Jul 12, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant