benbarnett / jquery-animate-enhanced

Extend $.animate() to detect CSS transitions for Webkit, Mozilla, IE>=10 and Opera and convert animations automatically.
http://playground.benbarnett.net/jquery-animate-enhanced/
MIT License
1.39k stars 196 forks source link

opacity:0 - stuck on animation #119

Closed paulthecoder closed 10 years ago

paulthecoder commented 11 years ago

Awesome plugin! just having an issue with opacity. im using animate enchanced with superfish and the cycle2 plugin by malsup. Everything seems to be working fine except occassionally the inline style will have a opacity:0 that gets stuck. To fix it you must refresh. The only way i could recreate this is when I activate the animation several times over a short period of time. for example constantly hovering over an "li" and the nested "ul" which is supposed to animate eventually disappears and has opacity:0 in its inline style. This seems to be happening with fadeIn and fadeOut effects as both elements that are bugging out have a fade toggle, however im not certain this is the only culprit. In the end you would be stuck with -> style = "all the transition stuff; opacity:0"

benbarnett commented 11 years ago

Could you do a quick jsfiddle or demo for this?