Opened 14 years ago
Closed 14 years ago
#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: | ||
Blocked by: | Blocking: |
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 (1)
Change History (2)
comment:1 Changed 14 years ago by
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Changed 14 years ago by
Attachment: | fix_2542.diff added |
---|
Possible fix for Ticked #2542 (still need confirmation)
Definitely agreed, but this is a dup of #2542.