Bug Tracker

Opened 11 years ago

Closed 11 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)

fix_2542.diff (623 bytes) - added by Aidamina 11 years ago.
Possible fix for Ticked #2542 (still need confirmation)

Download all attachments as: .zip

Change History (2)

comment:1 Changed 11 years ago by dmethvin

Resolution: duplicate
Status: newclosed

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

Changed 11 years ago by Aidamina

Attachment: fix_2542.diff added

Possible fix for Ticked #2542 (still need confirmation)

Note: See TracTickets for help on using tickets.