adobe/react-spectrum

ComboBox/Select easily becames laggy

開放

#5,897 建立於 2024年2月16日

 (6 則留言) (2 個反應) (0 位負責人)TypeScript (1,500 個分叉)auto 404
bughelp wantedperformance

倉庫指標

星標
 (15,634 顆星)
PR 合併指標
 (平均合併 8天 2小時) (30 天內合併 80 個 PR)

描述

Provide your feedback here.

When the ComboBox or Select component have a bit more items, they easily become laggy, because the full list re-renders on a single item hover. This makes them not scale well with data. It's not the case with the standalone ListBox however, rendering is optimized in that. Only when it belongs to a ComboBox or Select. The rendering behavior can be observed by turning on the React DevTools "highlight updates" feature.

🔦 Context

No response

💻 Code Sample

No response

Version

No response

What browsers are you seeing the problem on?

No response

If other, please specify

No response

What operating system are you using?

No response

貢獻者指南