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

Fixes cancel not reverting to original index #1693

Merged
merged 2 commits into from Dec 17, 2019

Conversation

mupchrch
Copy link
Contributor

@mupchrch mupchrch commented Dec 10, 2019

The hooks version of "cancel on drop outside" example was not reverting the item back to its original index on drop outside.

I have ported the end drag handler from the decorator example, as this necessary logic was missing.

@darthtrevino darthtrevino merged commit 3456675 into react-dnd:master Dec 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants