I want to make a menu with 2 state (default and hover state), so I made a component for that and it works fine. but I also want that component when I hover it will open an overlay. so, I need the two interaction working at the same time when I hover it.
It actually work. but there is maybe a bug or I don’t know for sure. so, when I hover the menu, it does making teh two interaction (change state and open an overlay), but when I drag away my mouse, the overlay doesn’t close by it self as I expected. is this a bug? or I miss something?
please anyone if you know how to fix this, thanks in advance.

