Bug Tracker

Modify

Ticket #4053 (closed bug: duplicate)

Opened 4 years ago

Last modified 4 years ago

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

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

Change History

comment:1 Changed 4 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to duplicate

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

Changed 4 years ago by Aidamina

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.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.