Side navigation
#4053 closed bug (duplicate)
Opened February 03, 2009 03:49PM UTC
Closed February 03, 2009 11:38PM UTC
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 (1)
Changed February 03, 2009 11:38PM UTC by comment:1
resolution: | → duplicate |
---|---|
status: | new → closed |
Definitely agreed, but this is a dup of #2542.