Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert on invalid target #313

Open
lukasoppermann opened this issue Feb 23, 2018 · 0 comments
Open

Revert on invalid target #313

lukasoppermann opened this issue Feb 23, 2018 · 0 comments
Labels
feature New feature or enhancement help wanted

Comments

@lukasoppermann
Copy link
Owner

When an item is dropped outside of any valid sortable it should be moved to its original position (not its last valid position). This should maybe be done using an option.

opts.invalidDrop = 'revert'

Other options for invalidDrop could be false (default which uses last valid position).

And as an extension remove which removes the item. (This should probably be a separate PR).

@lukasoppermann lukasoppermann created this issue from a note in current Version (Roadmap) Feb 23, 2018
@lukasoppermann lukasoppermann mentioned this issue Feb 23, 2018
2 tasks
@lukasoppermann lukasoppermann added feature New feature or enhancement and removed feature New feature or enhancement labels Mar 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or enhancement help wanted
Projects
current Version
  
Roadmap
Development

No branches or pull requests

1 participant