Both goog.fx.AnimationQueue implementations track only the FINISH event for the
queued animations. They dispatch both FINISH and END event after receiving a
FINISH event for the final animation, which is before the END event for the
animation. This is particularly problematic when combined with the behavior of
goog.fx.dom.PredefinedEffect (arguably buggy also), which executes a final
animation frame in it's onEnd handler:
goog.fx.dom.PredefinedEffect.prototype.onEnd = function() {
this.updateStyle();
goog.fx.dom.PredefinedEffect.superClass_.onEnd.call(this);
};
A user of AnimationQueue should be able to rely on the END event meaning that
no subsequent animation will be performed.
Original issue reported on code.google.com by fay.s...@gmail.com on 15 Mar 2012 at 2:30
Original issue reported on code.google.com by
fay.s...@gmail.com
on 15 Mar 2012 at 2:30