react-butterfiles icon indicating copy to clipboard operation
react-butterfiles copied to clipboard

Update getDropZoneProps to pass the event object

Open kensnyder opened this issue 2 years ago • 0 comments

Currently, any custom handlers for onDragOver and onDrop do not receive the event object. This unobtrusive code change allows developers to access the event object.

Related Issue

Well, take it or leave it, this change is so small I'm not going to open an issue. Either merge or delete the PR.

Your solution

Just pass the event object. It was probably an oversight.

How Has This Been Tested?

Shouldn't need testing

Screenshots (if relevant):

N/A

kensnyder avatar Apr 26 '22 22:04 kensnyder