SyntheticMouseEvent is missing `dataTransfer` property
evanweible-wf opened this issue · 3 comments
evanweible-wf commented
Drag and drop mouse events have a dataTransfer
property that can be used to access a FileList
describing the files that may have been dropped onto an element. The SyntheticMouseEvent
in React includes this information, but it's missing from the SyntheticMouseEvent
class in this repo.
https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer
hleumas commented
@evanweible-wf thank you for pointing this out. Could you please prepare a patch?
evanweible-wf commented
hleumas commented
@evanweible-wf Thank you for the patch! It is published on pub right now!