Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance issues when many <Menu> elements exist on one page #3630

Open
apazzolini opened this issue Feb 4, 2025 · 0 comments
Open

Performance issues when many <Menu> elements exist on one page #3630

apazzolini opened this issue Feb 4, 2025 · 0 comments

Comments

@apazzolini
Copy link

What package within Headless UI are you using?

@headlessui/react

What version of that package are you using?

v2.2.0

What browser are you using?

Firefox (but happens on any browser)

Reproduction URL

Describe your issue

As of @headlessui/react v2.1.0, opening / closing a Menu causes all other Menus on the same page to re-render, resulting in noticeable lag. To reproduce, visit the above sandbox and attempt to open a menu on any row.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant