I’m using jQuery’s hover()
helper to attach some behavior to <li>
elements in a <ul>
with max-height
and overflow:auto
CSS properties.
When the height of the <ul>
goes beyond max-height
and the vertical scrollbar appears, hovering over the <li>
elements triggers mouseOver
, but if I move to the right to the scrollbar and start scrolling with the mouse, the mouseOut
event never fires. (I have to hover back on the element and exit through some other direction to make mouseOut
fire).
Is this a problem in jQuery or is it my specific situation that’s triggering the bug?
Note: the <li>
elements have display:block
attached to them.
Advertisement
Answer
Appears to be a bug in Firefox only – jQuery bugtracker has an open ticket here.