Skip to content

Drag and Drop without Clone or Move? #2024

Open
@gregg-cbs

Description

@gregg-cbs

Hi,

Im hoping you can guide me here, i cant seem to figure this out.

I am using sortable.js in react.
I want to drag an item from 1 column into another but i dont want the item to move or clone, i just want to handle the drop event so I can make a request that will update the data which react uses to refresh the dom which will put the item in the column it was dropped in.

react freaks out when the dom is updated externally so im running into issues.

any help will be greatly appreciated and thank you for this awesome lib.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions