Skip to content

Update to React 16 and disable dragging when not using primary mouse button. #70

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

Merged
merged 2 commits into from
Jun 5, 2018

Conversation

robertlong
Copy link
Contributor

Updates to React 16.

Added early return in onDragStart when not using the primary mouse button. This makes it possible to add custom contextmenus to a node.

@wangzuo wangzuo merged commit 00e3519 into swiftcarrot:master Jun 5, 2018
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