19
Views
1
Comments
Reactive file upload drop zone
Question

In normal browsers the upload widget is a place where you can also drag a file to instead of pressing the browse button to search for the file. Only I have seen that this is not working in the reactive upload widget. Is there a way that dropping a file on the widget work without having to need a forge component?

Rank: #93

Hi freek,


I don't think it is possible. Analyzing a bit with Developer Tools, the data-upload attribute blocks it and the landing zone (the input) is hidden.

This does not happen on Traditional Web upload widget and that's why dragging works when using it in Traditional Web.
Nevertheless, there are components to overcome this limitation such as the Droppable FileUpload.


Hope it helps.


Cheers,

João