gilbitron / Dropit

Dropit is a jQuery plugin for single level dropdown menu's
153 stars 74 forks source link

action: 'hover' & jQuery v1.11.1 #10

Open cuz83 opened 10 years ago

cuz83 commented 10 years ago

When using jQuery v1.11.1 action: 'click' works fine, but using 'hover' does not work, (doesn't through any errors in the console).

samfoot commented 10 years ago

Hey cuz83, this is a bit of a late reply but I just came across this issue, if you are still having issues try using 'mouseover' instead of 'hover' for the action.

hscanlan commented 8 years ago

I have this same issue - using mouseover seems to fix it for showing, but when leaving the menu doesn't hide

hscanlan commented 8 years ago

Note: Changed to mouseenter and works as expected

patrickhofer commented 8 years ago

+1 I have the same problem

patrickhofer commented 8 years ago

@hscanlan Can you paste your code? Because this isn't working:

    <script>
$(document).ready(function() {
    $('.dropit-trigger').dropit({
  action: 'mouseenter'
});
});
        </script>
allisonpink commented 8 years ago

Ok got it to work with this:

$(document).ready(function() { $('.menu').dropit({ action: 'mouseenter',
}); });

dylanh724 commented 8 years ago

This still isn't working for me -- I hover over and nada. Hover out, nothing either. Anyone else get this working or just me?

themocs commented 8 years ago

Check the last tag of my repo! I changed it to a test, and worked fine, i think i'll pull it