Support high number of options in Combobox
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 4.3k
- Forks
- 371
- Avg merge
- 26d 1h
- Merged PRs (30d)
- 1
Description
Is your feature request related to a problem? Please describe
Problem raised by @mtanco
"I have 5K+ values in a picker which is (rightfully) really laggy and meh - any suggestions on what type of component or feature to use for letting your user select from a really long list?"
Currently, Dropdown with popup is virtualized and can solve the issue. It would be good to have it on ComboBox too.
Describe the solution you'd like
Switch to VirtualizedComboBox if the number of elements is too high.
Implementation notes
Verify if there is any drawback of using VirtualizedComboBox by default instead of ComboBox. If not check what is a good threshold to switch to VirtualizedComboBox.
Additional context
https://developer.microsoft.com/en-us/fluentui#/controls/web/combobox
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 existing ComboBox and VirtualizedComboBox usage in the frontend, then consult the linked Fluent UI ComboBox documentation. Compare the drawbacks of using virtualization by default and determine a suitable option-count threshold. Done means large option lists remain responsive without regressing ordinary ComboBox behavior.
Written by the indexing model from the issue text.
Assessment
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100