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

贡献者指南