Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Wissperwind opened this issue Dec 6, 2021 · 0 comments

Comments

@Wissperwind
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant