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

Click to upload only allowed once #77

Open
cliquesoft opened this issue Dec 11, 2020 · 2 comments
Open

Click to upload only allowed once #77

cliquesoft opened this issue Dec 11, 2020 · 2 comments

Comments

@cliquesoft
Copy link

cliquesoft commented Dec 11, 2020

If the user clicks on the FileDrop element (a <div> in my case), the process works as advertised. Clicking a second time would show the upload dialog box of the web browser, but no file upload would occur afterwards. Dragging-and-dropping files does not seem to have any issues.

@ProgerXP
Copy link
Owner

Are you picking the same file second time? The <input type=file> element that the drop zone is using under the hood is firing onchange only when the picked file has changed.

@cliquesoft
Copy link
Author

cliquesoft commented Dec 16, 2020 via email

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

2 participants