Open Hortt opened 9 years ago
What browsers are you seeing this problem in?
@Hortt You can't just paste arbitrary markup in here if you're trying to show the code. I fixed it this time, but it may be a good idea to familiarize yourself with Mastering Markdown
@CWSpear, Ah, thank you! @jmartin84 Windows Chrome v46.0.2490.80 m
I also get the same when an empty DIV is added. The div has size and abckground image, but no content and this makes the menu not triggering. I guess this is because you assume the dropdown link can't have hoverable children, but that's not the case in most of the cases, when you decorate a menu with images for example.
Changing line 50 to :
if(!$parent.hasClass('open') && !$this.is(event.target) && !$.contains($this[0], event.target)) {
solved it for me, but not sure if it won't caause other issues. Needs a check by someone more into this.
here is the layout: