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

Improvement: Add the new index to the 'moved' event #79

Closed
tomcoonen opened this issue Dec 9, 2019 · 3 comments · Fixed by #80
Closed

Improvement: Add the new index to the 'moved' event #79

tomcoonen opened this issue Dec 9, 2019 · 3 comments · Fixed by #80
Assignees
Labels
enhancement New feature or request released

Comments

@tomcoonen
Copy link
Contributor

It would be nice to have the new item index available on the moved event so you can handle the change from there.

@jledentu jledentu added the enhancement New feature or request label Dec 9, 2019
@jledentu jledentu self-assigned this Dec 9, 2019
@jledentu
Copy link
Owner

jledentu commented Dec 9, 2019

Thanks for your suggestion!

I made a PR to add a index property, which is the index of the dropzone where the item is dragged. When dragged on an item, the index is undefined (the element is pushed at the end of the children). Please note that this index is not the displayed position of the item if a sortBy is applied.

@jledentu
Copy link
Owner

jledentu commented Dec 9, 2019

🎉 This issue has been resolved in version 1.15.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@tomcoonen
Copy link
Contributor Author

Great work :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request released
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants