h2oai / h2oai/wave

Support high number of options in Combobox

Open
#1,426 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature ui
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.