- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 271
 
Open
Description
I have updated to newest @coreui/react@5.9.1 and found a bug that was not reproduced in version 5.5.0
In our project we use CDropdowns a lot, sometimes items are links and sometimes they are buttons, like in your example: https://coreui.io/react/docs/components/dropdown/#menu-items (looks like the link doesn't work, so please see the screenshot 1)
I expect that when I click on the button - the dropdown will be closed, but it doesn't. I found the check in the code (screen 2) that prevents closing. I understand that it covers the case when forms are inside, but my scenario becomes broken.
I need a way to close the dropdown on button click, so what are my options?

Metadata
Metadata
Assignees
Labels
No labels