Bug Tracker

Opened 12 years ago

Closed 11 years ago

#2542 closed bug (fixed)

Callbacks are not triggered on animated methods with a speed of 0

Reported by: DanSwitzer2 Owned by: flesler
Priority: major Milestone: 1.4
Component: effects Version: 1.2.3
Keywords: animate show hide callback Cc: DanSwitzer2
Blocked by: Blocking:

Description

If you have a callback defined to any of the jQuery FX and there's a 0 speed specified, then the callback is never triggered.

This is a problem when developing plug-ins that are allowing the user to specify the FX to run when making elements visible. If user wants to immediately have the element shown (by specifying a speed of 0,) then any defined callback does not run.

Attachments (2)

jquery_animate_0_bug.htm (1.1 KB) - added by DanSwitzer2 12 years ago.
An example that shows the bug
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 (7)

Changed 12 years ago by DanSwitzer2

Attachment: jquery_animate_0_bug.htm added

An example that shows the bug

comment:1 Changed 11 years ago by dmethvin

Owner: set to flesler

Changed 11 years ago by Aidamina

Attachment: fix_2542.diff added

Possible fix for Ticked #2542 (still need confirmation)

comment:2 Changed 11 years ago by Aidamina

I added a possible fix for this problem. I haven't tested it yet. Since I don't seem to be able to compile jQuery on this machine.

comment:3 Changed 11 years ago by flesler

Cc: DanSwitzer2 added
Milestone: 1.2.41.3.3
need: ReviewCommit
Status: newassigned

comment:4 Changed 11 years ago by flesler

Fixed at [6559].

comment:5 Changed 11 years ago by dmethvin

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.