-
Hi folks 👋 Here is a sandbox with a basic example of this. I tried to re-create the combobox using I'm wondering if this is a known issue and if there are plans to iterate on this component in the near future? Seems like it would be a useful built in optimization for the component. Looking forward to hearing your thoughts. Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 12 replies
-
Hi @andipants12 I'll touch base with the rest of the engineering team, and get back with you asap on this one. |
Beta Was this translation helpful? Give feedback.
-
Hi @andipants12 Per the slack conversation and for visibility: In its current state, you'll need to revert back to the Combobox Primitive in order to incorporate I'll also add a ticket to our backlog to investigate a prop that will add |
Beta Was this translation helpful? Give feedback.
-
Hi! We noticed this as well in our project but didn't have time to dig further. IIRC, it appeared that the rerender times seemed to scale linearly with the number of items in the list. Stumbled upon this issue/comment in the underlying Downshift library that may be helpful: downshift-js/downshift#730 (comment) |
Beta Was this translation helpful? Give feedback.
-
@richbachman for using react virtual it would be awesome if we could expose a ref directly on the unordered list element. In my investigation I was passing a menu ID to the combobox hook and that seemed to work fine, but I can see that causing issues down the line. PS: please excuse the lack of formatting in my posts. We just moved and don’t have internet so I’m responding in my phone 😅 |
Beta Was this translation helpful? Give feedback.
-
@richbachman @TheSisb Wanted to follow up and check to see if you have plans to virtualize the combobox above a certain number of items, or if that is something teams should own? |
Beta Was this translation helpful? Give feedback.
-
Hi @andipants12, we recently merged virtualization into combobox. Please update and let us know if it helps! (PR #1117) |
Beta Was this translation helpful? Give feedback.
@richbachman @TheSisb Wanted to follow up and check to see if you have plans to virtualize the combobox above a certain number of items, or if that is something teams should own?