Skip to main content

Bug Tracker

Side navigation

#2542 closed bug (fixed)

Opened March 18, 2008 02:38PM UTC

Closed November 03, 2009 12:31AM UTC

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)
  • fix_2542.diff (0.6 KB) - added by Aidamina February 05, 2009 10:54AM UTC.

    Possible fix for Ticked #2542 (still need confirmation)

  • jquery_animate_0_bug.htm (1.1 KB) - added by DanSwitzer2 March 18, 2008 02:38PM UTC.

    An example that shows the bug

Change History (5)

Changed February 03, 2009 11:39PM UTC by dmethvin comment:1

owner: → flesler

Changed February 05, 2009 10:55AM UTC by Aidamina comment:2

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.

Changed September 15, 2009 12:32AM UTC by flesler comment:3

cc: → DanSwitzer2
milestone: 1.2.41.3.3
need: ReviewCommit
status: newassigned

Changed September 15, 2009 12:32AM UTC by flesler comment:4

Fixed at [6559].

Changed November 03, 2009 12:31AM UTC by dmethvin comment:5

resolution: → fixed
status: assignedclosed