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

fixed cloning canvas context of dragged items #512

Merged
merged 1 commit into from
Mar 18, 2019

Conversation

mohsom
Copy link
Contributor

@mohsom mohsom commented Mar 18, 2019

Hello, after installing the last release of the package I've encountered problem with sorting canvas items. After some debugging I found out that the problem is in copying canvas context on sort (it gets elements from array of items with the wrong index).

Copy link
Owner

@clauderic clauderic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤦‍♂️ Good catch, thanks for submitting a PR ❤️

@clauderic clauderic merged commit 4df34ad into clauderic:master Mar 18, 2019
@clauderic
Copy link
Owner

Published this fix in 1.8.1

redking added a commit to DataDog/react-sortable-hoc that referenced this pull request Mar 25, 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.

2 participants