Skip to content

Destroy sortable after swap has occurred  #1546

Open
@codingnuclei

Description

@codingnuclei

Problem:

Trying to use sortable.destroy() on a sortable with option swap: true. (after one swap has been done).

Throws error "Cannot read property 'captureAnimationState' of null"

Fails at pluginEvent('drop' ....

If prior to destroy i can set the swap option to false it does not throw this error.

Thanks

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