Home > front end >  Onmouseleaven event not be triggered
Onmouseleaven event not be triggered

Time:09-16

Onmouseleaven events in the mouse moves too fast is triggered, not my examples are four TAB TAB, the mouse on the icon, highlighting, across back to the original color, the phenomenon is the mouse too quickly, to highlight has been... What a great god give directions

CodePudding user response:

If only after change colors with CSS more simple
Box: hover {color: red}

CodePudding user response:

Even when using onm ouseleaven execution left style reduction

CodePudding user response:

If still want to use JS implementation effect, so please select mouseout event

CodePudding user response:

Add: onm ouseleave event does not support the bubbling

CodePudding user response:

With the dispatchEvent () test events can trigger normally, if there is no problem, can explain the code that is the client's problem, such as poor performance caused by not to be able to respond to page, etc.,
  • Related