Skip to content

swap clone and item #1515

Open
Open
@olivierdalang

Description

@olivierdalang

Problem:

Current, when using pull: 'clone', at least in the onEnd callback, the element being dragged is e.item while the element that stayed behind e.clone.

This means you're actually dragging the original, while a clone was created and left in place.

To me, this is counter-intuitive, and makes some implementations complicated (e.g. if the original element has some logic that should be kept). I'd suggest inverting this, or at least add another clone mode that has this more correct behaviour

Thanks for the library !!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions