Skip to main content

Bug Tracker

Side navigation

#9474 closed bug (duplicate)

Opened May 31, 2011 10:54PM UTC

Closed July 12, 2011 05:23PM UTC

Last modified July 12, 2011 05:23PM UTC

Calling .stop() in callback freezes animation

Reported by: rtempchin@gmail.com Owned by:
Priority: low Milestone: 1.next
Component: effects Version: 1.6.1
Keywords: Cc:
Blocked by: Blocking:
Description

Animate an element using .animate() and give it a callback. In the callback function, call .stop(). The element will no longer animate in response to .animate() calls.

Test case: http://jsfiddle.net/rtempchin/tCWVH/

Also note that if you move .stop() out of the callback, the element will respond to future .animate() calls but will still ignore one immediately after .stop().

Test case: http://jsfiddle.net/rtempchin/tCWVH/3/

Tested with jQuery 1.6 and 1.6.1 in Chrome (11.0.696.71) for Mac.

Attachments (0)
Change History (4)

Changed June 05, 2011 02:23AM UTC by timmywil comment:1

component: unfiledeffects
priority: undecidedlow
status: newopen

Confirmed. Not sure what's going on with this one. Some weirdness with the timers. http://jsfiddle.net/timmywil/tCWVH/7/

Changed June 14, 2011 01:57PM UTC by timmywil comment:2

#8828 is a duplicate of this ticket.

Changed July 12, 2011 05:23PM UTC by gnarf comment:3

resolution: → duplicate
status: openclosed

Changed July 12, 2011 05:23PM UTC by gnarf comment:4

Duplicate of #6641.