Skip to content

Multidrag: Prevent deselect on click #1772

Open
@twilson90

Description

@twilson90

I have a sortable with MultiDrag enabled.
I have 2 buttons 'Add' and 'Remove'
I want to be able to select multiple items and then click 'Remove', to remove the selected items, however as soon as I click on the Remove button, before my click handler runs the items are deselected.
I generally just want my selected items to remain selected when I click outside the draggable context.
How do I do it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    MultiDragRelating to the MultiDrag pluginenhancementQuality of life changes to existing features

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions