dropzone icon indicating copy to clipboard operation
dropzone copied to clipboard

onDrop() not called after files were selected using the pickFiles() method.

Open Wissperwind opened this issue 3 years ago • 0 comments

Hi, I would like to display a list with all files that will be uploaded. If I drop them on the drop zone this can be easily done using the onDrop method. I add the filenames to a list and call setState -> my view with a listview is updated. It is handy that this library also provides a method to open a file picker. Usually both is needed. But if files were picked with that file picker, the on drop is not called. So my view is not updated. Ho to solve that? Would it be an option to change this library to also call onDop if the filepickes is used?

Wissperwind avatar Dec 06 '21 09:12 Wissperwind