Skip to content

Conversation

LeifAndersen
Copy link

NOTE: This patch is "not" ready to merge, I made this PR as a request for comments/improvements.

It seems like in firefox, svg elements will not have their onDragStart function called. They will, however have their onMouseDown function called. This patch adds a onMouseDown callback, but it also nulls the data stored in the dragging event. Since onMouseDown doesn't seem to let you add information to the drag store, I suspect a shadow store would need to be created in the component's react state.

@jannikbuschke
Copy link
Collaborator

@LeifAndersen I released a new version 2.0.0-beta.2 of this library. Can you check if the issue persists?

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