KarimMokhtar / react-drag-drop-files

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.
MIT License
248 stars 91 forks source link

Doesnt actually upload files or allow you trigger an action afterwards? #110

Closed JJRobertsSex30 closed 2 weeks ago

JJRobertsSex30 commented 1 year ago

Maybe I am being really dim here but files dragged or uploaded with this don't get uploaded anywhere. Nor is there a place to specify where they should get uploaded nor what action to take with such files (on the server side like processing / converting) when they do get uploaded nor any way to update the UI with a status bar with progress of server side processing.

majohannsen commented 1 year ago

Having a similar problem...

When I select files after clicking on the dropzone they get uploaded on submit. But when I drag and drop files they just get ignored on submit.

Entropiks commented 1 year ago

I am not able to reproduce this issue.

The selected to upload data is returned through using the 'handleChange' prop. From there you can do whatever you want with the data (exactly the same as a standard html input field).

KarimMokhtar commented 2 weeks ago

I am not able to reproduce this issue.

The selected to upload data is returned through using the 'handleChange' prop. From there you can do whatever you want with the data (exactly the same as a standard html input field).

Correct.