Skip to content
Advertisement

Jquery dropdown doesn’t hide when you hover out

so to understand my problem you can see THIS GIF dropdown works when i hover out at the bottom of the box or go to another dropdown but it’s stays when you hover out at the top or the right side of the div it’s litteraly an edge case. Here is my code JSFIDDLE or there is a snippet here.

Thanks for your help

JavaScript
JavaScript
JavaScript

Advertisement

Answer

You need to wrap mouseleave function to iconWrapper class

and also need to assign mouseleave to helpBox cause you don’t wanna close helpbox window on moving out of heading

JavaScript
User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement