nextui icon indicating copy to clipboard operation
nextui copied to clipboard

[BUG] - Popover-based components (such as Autocomplate, Dropdown, Popover etc...) do not open as expected.

Open iqingting opened this issue 1 year ago • 8 comments

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

  1. Switch quickly between the two autocomplete components.
  2. The popover do not open sometimes.

Expected behavior

  1. Respond to every click

Screenshots or Videos

https://github.com/user-attachments/assets/5eaa166f-3c90-4a3a-afb8-80d5451a8ee0

Operating System Version

macOS

Browser

Chrome

iqingting avatar Dec 09 '24 06:12 iqingting

+1

chintan-traitfit avatar Dec 10 '24 03:12 chintan-traitfit

+1

i have a same problem when i scroll my page, all dropdowns don't open...

EDIT: This problem only when using Firefox

plfmoura-redraw avatar Jan 10 '25 19:01 plfmoura-redraw

Reopening since the PR was reverted.

wingkwong avatar Jan 17 '25 03:01 wingkwong

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.

computerd36 avatar Apr 05 '25 23:04 computerd36

Just checked on Firefox but didn't reproduce the issue.

wingkwong avatar Apr 06 '25 03:04 wingkwong

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.

computerd36 avatar Apr 07 '25 11:04 computerd36

Closing in favor of v3. If the issue is reproducible in v3, please create a new one with a minimal reproducible example.

wingkwong avatar Apr 03 '26 13:04 wingkwong