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

Dragger breaks when multiple files are selected and some are invalid #10953

Closed
aseemgautam opened this issue Jun 19, 2018 · 2 comments
Closed

Dragger breaks when multiple files are selected and some are invalid #10953

aseemgautam opened this issue Jun 19, 2018 · 2 comments
Assignees
Labels

Comments

@aseemgautam
Copy link

@aseemgautam aseemgautam commented Jun 19, 2018

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

3.6.3

Environment

OSX High Sierra, Chrome

Reproduction link

Edit on CodeSandbox

Steps to reproduce

Dragger is configured to allow only jpeg files. Multiple attribute is set to true.
Click on the dragger and select one JPG file and any other file. One valid and one invalid file.

What is expected?

Begin upload for valid file and reject invalid file.

What is actually happening?

An exception the thrown in the console - Warning: Each child in an array or iterator should have a unique "key" prop. This error is also throws sometimes - Encountered two children with the same key, rc-upload-1529412272836-3


Only occurs when valid and invalid files are selected. Works fine when all files are valid or invalid.

@aseemgautam
Copy link
Author

@aseemgautam aseemgautam commented Sep 19, 2018

Any update on this issue?

@zombieJ
Copy link
Member

@zombieJ zombieJ commented Sep 19, 2018

Hmmm, let me check...

@zombieJ zombieJ closed this in 273fd2e Sep 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants