Hello. First, please understand that the sentences may not be clear because I used a translator.
The menu in the header was structured as a summary within the detail, so when you clicked on the detail, the megamenu would expand. However, I have written JavaScript to make the menu appear when you hover the mouse over it.
However, it is functioning awkwardly, and I would like to know how to fix it. Even when the mouse moves away from Men towards Women, the Men megamenu remains visible. If you hover over the header a few times on the page, you will immediately understand what I mean.
Yes, please send me an collab request. my code is 3088.
and my javascript code is down below, and I insert this code in header.liquid file (503th line)
If you need further assistance, please let me know. If you found my help useful, consider liking this message and marking it as the solution.
Best regards
K.K