Bug Tracker

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#11846 closed bug (duplicate)

animation complete handler shows wrong animation status

Reported by: [email protected] Owned by: [email protected]
Priority: undecided Milestone: None
Component: unfiled Version: 1.7.2
Keywords: Cc:
Blocked by: Blocking:


Say, we call animate method on node $el and we if a complete handler. As it said in docs, complete is "a function to call once the animation is complete." Thus, *in case there's no other animation currently running" , $el.is(':animated') in complete handler should return false. It, nevertheless returns true.

Not only this is wrong because of the agreement about complete function, this also makes impossible to check whether other animations are running or not. And this is needed not that rare.

Change History (3)

comment:1 Changed 9 years ago by sindresorhus

Owner: set to [email protected]
Status: newpending

Thanks for taking the time to contribute to the jQuery project! Please provide a complete reduced test case on jsFiddle to help us assess your ticket.

Additionally, be sure to test against the jQuery Edge version to ensure the issue still exists. To get you started, use this boilerplate: http://jsfiddle.net/FrKyN/ Open the link and click to "Fork" (in the top menu) to get started.

comment:2 Changed 9 years ago by gnarf

Resolution: duplicate
Status: pendingclosed

comment:3 Changed 9 years ago by gnarf

Duplicate of #7157.

Note: See TracTickets for help on using tickets.