themesberg/flowbite

Dropdown close with trigger type hover

bhavik712 opened this issue · 1 comments

I am using mega menu in my project with trigger type is hover. When I click on my submenu technically my cursor is inside the menu box dropdown so when I tried with this:
const dropdown = FlowbiteInstances.getInstance('Dropdown', id)
dropdown.toggle()

I am not getting close my megamenu