zefoy / ngx-dropzone-wrapper

Angular wrapper library for Dropzone
MIT License
174 stars 51 forks source link

Dropzone will try to attach twice. #130

Open sujeetjaiswara opened 5 years ago

sujeetjaiswara commented 5 years ago

I am getting twice the file browser window.

sconix commented 5 years ago

I would look for the errors somewhere else, at least the browsers I use wont even allow opening file browser window twice. Anyway if there is a such bug its in the Dropzone and not in this library, but I highly doubt thats a bug in the Dropzone neither since what you are describing should not be even technically possible.

presola commented 4 years ago

I currently have the same error. How to replicate:

  1. Use an invalid URL so that the request will fail
  2. Click on the dropzone to select a file
  3. Notice after first upload, it opens the file selector again. Happens on chrome
JackEdwardLyons commented 3 years ago

I've also noticed this on Edge browsers - the file upload window pops up twice (sometimes you have to upload twice) before allowing an image to be attached. I followed another issue and found the solution here:

https://github.com/react-dropzone/react-dropzone/issues/252#issuecomment-472338477

AhmedBHameed commented 3 years ago

I'm using next.js with

[...]
"next": "10.0.5",
"react-dropzone": "^11.2.4",
[...]

I confirm this issue. PS: Only chrome issue. Works fine with Firefox.