Ticket #4053 (closed bug: duplicate)
Animation speed behaviour
| Reported by: | Aidamina | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.3.2 |
| Component: | effects | Version: | 1.3.1 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
Example: for(i =- 1; i < 2; i++) $("#test"+i).hide(i,function(){ alert("callback " + i + " fired"); });
Result: i = -1 -> div "#test-1" is hidden -> callback fired i = 0 -> div "#test0" is hidden -> callback NOT fired i = 1 -> div "#test1" is hidden -> callback fired
I am building an application with variable and configurable speeds. And I was assuming that a speed of 0 would disable the animations, and it does, but it breaks the callback functionality. I would expect to see the callback fired regardless of the speed setting, since it's basically an event that tells you it is done showing the element.
Attachments
Change History
comment:1 Changed 4 years ago by dmethvin
- Status changed from new to closed
- Resolution set to duplicate
Changed 4 years ago by Aidamina
-
attachment
fix_2542.diff
added
Possible fix for Ticked #2542 (still need confirmation)
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

Definitely agreed, but this is a dup of #2542.