shadcn-ui/ui

[feat]: Support combobox with many items

kenn opened this issue · 2 comments

kenn commented

Feature description

Combobox gets really slow when you have many items in it. In my case with 5,000 items, it takes full 2 seconds just to open the Popover / Drawer.

Headless UI v2.0 introduced new combobox using TanStack Virtual, which can handle 100,000+ items.

Would you consider incorporating the same idea?

Affected component/components

Combobox

Additional Context

Additional details here...

Before submitting

  • I've made research efforts and searched the documentation
  • I've searched for existing issues and PRs