Fade not performed within onComplete of another Fade #2593

SCHOLAR-Graeme opened this Issue May 7, 2014 · 3 comments

4 participants


As discussed here: https://groups.google.com/forum/#!topic/mootools-users/37eZl_GCHxk

The following jsFiddle demonstrates the Fade function not working within an onComplete function of a previous Fade: http://jsfiddle.net/xWH4y/

Replacing Fade with a basic opacity tween function, or wrapping it in a setTimeout(func, 1), gets the desired effect to work.

MooTools member

@SCHOLAR-Graeme, interesting issue, thanks for bringing it up.

I noticed that changing the order of these two lines fixes this problem. Does anyone see a possible backside to this change? (tested the specs with this idea and all is green)

http://jsfiddle.net/cgXe4/1/ (fixed version)

@timwienk timwienk added this to the 1.5.1 milestone May 7, 2014
@SergioCrisostomo SergioCrisostomo modified the milestone: 1.5.1, 1.5.0 May 8, 2014
MooTools member

@arian @kentaromiura @ibolmo @timwienk do you see any down-side of changing these two lines?

MooTools member
@SergioCrisostomo SergioCrisostomo modified the milestone: 1.5.2, 1.5.1 Jul 6, 2014
@ibolmo ibolmo added the bug label Jan 14, 2015
@ibolmo ibolmo closed this in #2597 Feb 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment