Skip to content

Dragend isn't the end #41

@jbrumwell

Description

@jbrumwell

Hi,

Currently dragend is called as the only cleanup method but the element could theoretically not be done moving if there is a drag.revert() action called.

I can see two solutions to the issue;

  1. Add a dragcleanup or dragcomplete event to the cleanup function
  2. Add a dragreverted event for when the element is being reverted

I personally chose the dragcleanup option for my use and will submit a pull request for it in case you decide to go that route.

Cheers,

Jason

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