Skip to content

Extra rerender on hover item #2782

Closed
Closed
@Miladxsar23

Description

@Miladxsar23

What package within Headless UI are you using?

@headlessui/react

What version of that package are you using?

v1.7.16

What browser are you using?

Chrome, Safari, or N/A

Describe your issue

I have realized that for large data in the ListBox and Autocomplete components, additional renders occur on hover over items, which significantly impacts performance. This can be applied to each item individually because hover has no effect on the active and selected states.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions