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

Dropzone will try to attach twice. #130

Open
sujeetjaiswara opened this issue Mar 5, 2019 · 4 comments
Open

Dropzone will try to attach twice. #130

sujeetjaiswara opened this issue Mar 5, 2019 · 4 comments
Labels

Comments

@sujeetjaiswara
Copy link

I am getting twice the file browser window.

@sconix
Copy link
Contributor

sconix commented Mar 5, 2019

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.

@sconix sconix added the invalid label Mar 5, 2019
@presola
Copy link

presola commented Aug 20, 2020

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
Copy link

JackEdwardLyons commented Nov 18, 2020

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:

react-dropzone/react-dropzone#252 (comment)

@AhmedBHameed
Copy link

AhmedBHameed commented Jan 23, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants