Bug Tracker

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#9220 closed bug (fixed)

Animation Callbacks fire AFTER the next queue function executes.

Reported by: gnarf Owned by: Timmy Willison
Priority: high Milestone: 1.6.2
Component: effects Version: 1.4.4
Keywords: Cc:
Blocked by: Blocking:



Look at the following code:

$("<div>").queue(function(next) {
}).show(100, function() {
    console.log("show callback");
}).queue(function(next) {

I would expect the output to be "test" then "show callback" then "test" but it seems that the output is "test" "test" "show callback" which seems backwards to me.

This bug (?) seems present all the way back to 1.4.4.

Change History (2)

comment:1 Changed 12 years ago by Timmy Willison

Component: unfiledeffects
Milestone: 1.next1.6.2
Owner: set to Timmy Willison
Priority: undecidedhigh
Status: newassigned

gnarf and I have a fix for this in 1.6.2.

comment:2 Changed 12 years ago by Timmy Willison

Resolution: fixed
Status: assignedclosed

Animation callbacks keep their place in the queue stack. Fixes #9220.

Changeset: 3486365062cdc7e8598cea238e67aafa33af7dce

Note: See TracTickets for help on using tickets.