Skip to content

stop command doesn't seem to handle queue param properly #262

Closed
@SkidX

Description

@SkidX

Hi,
If I have two concurrent tweens on the same target (obviously animating different CSS properties), for example:

$target.velocity({left: 200}, {duration: 1000, queue: 'a'}).dequeue('a');
$target.velocity({top: 300}, {duration: 2000, queue: 'b'}).dequeue('b');

then using stop command with the aim to halt only one of them does not seem to work:
$target.velocity('stop', 'a');
It halts all the queues, not only 'a'.

With jQuery native animate it works as expected, stopping only 'a' while the other tween continues its run.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions