#11846 closed bug (duplicate)
animation complete handler shows wrong animation status
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.7.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
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 11 years ago by
Owner: | set to shabunc@… |
---|---|
Status: | new → pending |
comment:2 Changed 11 years ago by
Resolution: | → duplicate |
---|---|
Status: | pending → closed |
Note: See
TracTickets for help on using
tickets.
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.