invalid now and tween.now values on animate step callback
danielocdh opened this issue · comments
danielocdh commented
I was a bit surprised I couldn't find the issue anywhere, sample here:
https://jsfiddle.net/apcso9gw/
Ryan Neufeld commented
Seems legit.
Mx Corey Frang commented
step
is called before the property set hook is called.
Try using progress
instead which is called after, and guarnteed to be once per element per frame instead of once per property per element per frame, though since
Lines 620 to 627 in 889d029
tween.now
it will still be this invalid thing.
We could update the tween.now
or possibly use a custom tween in newer versions of jQuery - this hasn't been updated since jQuery 1.8 put in the new tween hooks.