huntabyte / cmdk-sv

cmdk, but for Svelte ✨
https://cmdk-sv.com
MIT License
410 stars 17 forks source link

[performance] Virtualise CommandItem when trying to display large lists? #80

Open NathanAdhitya opened 1 month ago

NathanAdhitya commented 1 month ago

As title says.

I'm personally trying to make it working by integrating TanStack Virtual. It's not going very well. Extremely janky, but cut initial mount time (around 600 elements, Combobox element from shadcn-svelte) from 2-3s after clicking the Popover.Trigger to perceivably instant. I haven't gotten filtering to work yet.

Has anyone gotten this issue, if so, what solutions helped?