[BUG] - Popover-based components (such as Autocomplate, Dropdown, Popover etc...) do not open as expected.
NextUI Version
2.6.5
Describe the bug
As the title says
Your Example Website or App
https://nextui.org/docs/components/autocomplete
Steps to Reproduce the Bug or Issue
- Switch quickly between the two autocomplete components.
- The popover do not open sometimes.
Expected behavior
- Respond to every click
Screenshots or Videos
https://github.com/user-attachments/assets/5eaa166f-3c90-4a3a-afb8-80d5451a8ee0
Operating System Version
macOS
Browser
Chrome
+1
+1
i have a same problem when i scroll my page, all dropdowns don't open...
EDIT: This problem only when using Firefox
Reopening since the PR was reverted.
In our project running React with the latest version of HeroUI, the bug still occurs. Is there a way to fix this? Dropdowns not opening on Firefox, which is widely used by our userbase, is a huge problem for us.
Since there was a fix that was merged into https://github.com/heroui-inc/heroui/pull/4483 but was then reverted, is there anyone working on this? Any help would be greatly appreciated.
Just checked on Firefox but didn't reproduce the issue.
Thank you for your response. There was overflow: hidden on the body element of our project, removing this will make the popover-based components work correctly again in Firefox. On Chrome they work both with and without overflow: hidden on the body.
Sorry for the inconvenience.
Closing in favor of v3. If the issue is reproducible in v3, please create a new one with a minimal reproducible example.