Closed theone3nu closed 2 years ago
@theone3nu Thank you so much for your contribution. Would you like to solve it and create a PR? btw if you don't have time we gonna solve it in the next push. Thanks again.
@KarimMokhtar sure please provide me the access to raise pr.
@theone3nu You can just fork the repo and make your changes on the "dev" branch and then you will be able to create PR
@KarimMokhtar forked the repo and raised pr. Please review.
Thanks. When will be the next release so that i can remove fix from my frontend code in the current app @KarimMokhtar
@theone3nu I have published it as a quick fix on version 2.2.4 please check it
Steps to reproduce. Drag an image and drop. handleChange getting called twice.
Use onDrop method for drag/drop file upload and onSelect method for file selection
Steps to reproduce. Drag an image and drop. handleChange getting called twice.
https://codesandbox.io/s/react-drag-drop-files-forked-0z4mm