I have a gray div with a disabled checkbox in it.
I also have blue div that is positioned over the gray box, but below the checkbox.
A third div is updated with text when mouseenter
and mouseleave
events are triggered on the gray box. Mouse into gray box -> "ENTER". Mouse out of gray box -> "LEAVE"
Everything works just as expected, except for when you enter the gray box through the disabled checkbox.
- Move mouse over blue box
- Move mouse over checkbox
- No Mouseenter event is triggered.
Why does this happen?