Control the maximum number of items displayed in the Dropdown menu
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 140
- Forks
- 100
- Avg merge
- 1h 3m
- Merged PRs (30d)
- 30
Description
Dropdown menu now displays all items at once. Therefore, the list may go beyond the screen.
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Dropdown component's basic-usage documentation and compare the SelectMenu component's theme variables, both linked in the issue. Decide whether a maximum item count or menu height best fits the existing API, then document and verify that long Dropdown lists remain usable without extending beyond the screen.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100