-
Notifications
You must be signed in to change notification settings - Fork 263
Closed
Description
It appears that if you set a queue name (string) the animation does not run immediately. I found you had to call dequeue. Since this wasn't in the docs it took a bit to figure it out.
It would help if the documentation either specified the need to dequeue or perhaps this is a bug?
Setting "queue" to true triggers the animation immediately if there is currently nothing in the q.
Example:
Nada: $('html,body').animate({scrollTop:200},{queue:'scr',duration:1000});
Woohoo: $('html,body').animate({scrollTop:200},{queue:'scr',duration:1000}).dequeue('scr');
Metadata
Metadata
Assignees
Labels
No labels