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

Can't reuse component after drag-drop #29

Open
WoozyG opened this issue Apr 12, 2017 · 0 comments
Open

Can't reuse component after drag-drop #29

WoozyG opened this issue Apr 12, 2017 · 0 comments

Comments

@WoozyG
Copy link
Contributor

WoozyG commented Apr 12, 2017

After selecting or dropping a file on a multi-file upload set to files=1, I can't select or drop another file, it says "too many files selected." This is after handling the first file on the server and clearing the server-side component.

Somewhere, server, client, or both, is holding on to a reference to the previously uploaded file, and not replacing it on the next selection or drop event.

If that's expected, then a new reset() method or similar is needed to actually clear state so we don't have to discard and recreate the component after every upload.

This issue arose out of #25.

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