adobe/react-spectrum

ComboBox/Select easily becames laggy

Aberta

#5.897 aberto em 16 de fev. de 2024

 (6 comentários) (2 reações) (0 responsável)TypeScript (1.500 forks)auto 404
bughelp wantedperformance

Métricas do repositório

Stars
 (15.634 estrelas)
Métricas de merge de PR
 (Mesclagem média 8d 2h) (80 fundiu PRs em 30d)

Description

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

Guia do colaborador