Light and simple Reactjs drag and drop files library to use with very flexible options to change, so you put whatever the design you want for your drop-area. Users can drag and drop or even select the file anywhere in the window.
Hi @ryanconry , Thanks for your contribution. but unfortunately, this PR not solving the problem.
my suggestion is to add this line:
event.target.value = null
to the handleClick function
Summary
Previously, a user could not upload the same file twice. Now, a user can upload the same file multiple times.
Key Changes
inputRef
to the dependency array of the useEffect that handles changingfileOrFiles
.Check List