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

onSuccess being called without an actual upload? #51

Open
ImOnMars opened this issue Jan 2, 2020 · 0 comments
Open

onSuccess being called without an actual upload? #51

ImOnMars opened this issue Jan 2, 2020 · 0 comments

Comments

@ImOnMars
Copy link

ImOnMars commented Jan 2, 2020

I apologize for creating a couple of issues but I'm getting some odd behavior.

I'm using DirectUploadProvider and I have a callback set for onSuccess. On very first upload this works as intended, if I open the file choose dialog and then click Cancel it does nothing, but if I choose a file then it uploads it and returns to the onSuccess callback. But if I open the file dialog again to replace the existing file and then click Cancel instead of choosing a file, it calls the onSuccess callback again even though no file was chosen and there isn't any new requests.

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