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.
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 theironMouseDown
function called. This patch adds aonMouseDown
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.