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

Draggable element fix for FireFox #30

Merged
merged 1 commit into from
Aug 2, 2016
Merged

Draggable element fix for FireFox #30

merged 1 commit into from
Aug 2, 2016

Conversation

jessp
Copy link
Collaborator

@jessp jessp commented Jun 8, 2016

Closes #29.

There was an error where dragging SVG graph elements (i.e. nodes, edges and captions -- to the exclusion of nodes containing images) was producing buggy behaviour in Firefox (47.0).

Simply adding e.preventDefault() to the beginning of all these components's '_handleDragStart()' seems to fix the issue.

My best guess is the issue was caused by an update to react-draggable or another library.

@jessp jessp merged commit 97afcc6 into master Aug 2, 2016
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.

Mozilla drag node bug
1 participant