FileDrop
FileDrop copied to clipboard
Click to upload only allowed once
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.
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.
Yes. I have tried the same file and a different file.
On 12/13/20, Pavel [email protected] wrote:
Are you picking the same file second time? The
<input type=file>
element that the drop zone is using under the hood is firingonchange
only when the picked file has changed.-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/ProgerXP/FileDrop/issues/77#issuecomment-744052926