flowbite-react icon indicating copy to clipboard operation
flowbite-react copied to clipboard

Dropdown Menu does not close after outside click

Open ibrahimakgn opened this issue 3 years ago • 6 comments

Describe the bug Dropdown Menu doesn't close when clicking outside of the menu.

To Reproduce Steps to reproduce the behavior:

Go to https://flowbite-react.com/dropdown Click on any Dropdown Menu Click outside of the Menu Note that Menu isn't closed after the click Expected behavior The Menu closes after the click outside of the menu, see the original flowbite dropdown menu https://flowbite.com/docs/components/dropdown/

System information:

Device: Macbook Pro OS: macOS Ventura 13.0.1 Browser: Chrome Version: 108.0.5359.124

ibrahimakgn avatar Jan 11 '23 17:01 ibrahimakgn

It looks like the issue only happens in the first example if you click on some dropdown item before clicking outside it. I recorded a video to demonstrate it, and I can also confirm that it doesn't seem to be browser-related.

https://user-images.githubusercontent.com/191027/211885837-72fe0953-c1ce-45ca-8449-7b5064a58f3f.mov

rluders avatar Jan 11 '23 18:01 rluders

Same problem, next js flowbite react

nezzard avatar Jan 27 '23 08:01 nezzard

Any solution?

matheus-omena avatar Feb 16 '23 14:02 matheus-omena

Any ideas to fix the problem?

anbkit avatar Feb 20 '23 14:02 anbkit

Hi, I would like to work on this issue.

tejaschokhawala avatar Mar 02 '23 12:03 tejaschokhawala

Solved by #840

rluders avatar Jul 06 '23 16:07 rluders