Mouse over interferes with toggle event

María Pérez de Arrilucea shared this problem 4 years ago
Solved

Hi, I have created a button with a dropdown. If I only use the toggle event to show/hide the folding options it works ok, but if I use also the mouse over to style the button, then the toggle event does not work anymore.

Comments (2)

photo
1

Split the on mouse over event in an on mouse enter event and an on mouse leave event.

photo
1

Hi Victor,


I know that it works that way, but it would be easier to do it with one event (Mouse over) instead of two (Mouse enter/Mouse leave).


Thanks!