Skip to content

Flip toggle switches don't animate when tapped. #2346

jblas opened this Issue Aug 26, 2011 · 2 comments

1 participant

jblas commented Aug 26, 2011

The flip toggle switches used to animate when you tapped/toggled them. It seems this checkin:


broke this because it sets the value (via refresh) prior to the animation being set up.

I have a fix for this.

@jblas jblas was assigned Aug 26, 2011
jblas commented Aug 29, 2011

The fix for this is on the 'transitions' branch and can be found here:


It can land on the HEAD once the $.fn.transitionComplete() method lands from the 'transitions' branch.

jblas commented Sep 1, 2011

I landed the selector fix to enable animation on the HEAD:


Also landed a related fix that removed the bogus animationComplete() call. This was not necessary since an animationend event will never be generated for a CSS3 transition, and was leading to us binding a new handler every time the switch was clicked.


@jblas jblas closed this Sep 1, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.