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
bug:change isDragReject true when maxFiles rejectDrag #1020
bug:change isDragReject true when maxFiles rejectDrag #1020
Conversation
Pull Request Test Coverage Report for Build f75389a2e2c95503c910f25fbd75e86b442f8290-PR-1020
💛 - Coveralls |
Pull Request Test Coverage Report for Build 26c7ed2059c3b678c151d05ed9ed4b5a664ad252-PR-1020
💛 - Coveralls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM just need to fix a few spacing issues
Co-authored-by: Rick Markins <rmarkins@gmail.com>
I think we're missing some tests, @Morteza-Jenabzadeh could you add some test cases for these changes? |
I have added a test to check isDragReject. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Morteza-Jenabzadeh just a few more style changes and we're good to merge.
…zone into bugfix-isDragReject#1017
…-Jenabzadeh/react-dropzone into bugfix-isDragReject#1017
🎉 This PR is included in version 11.2.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
What kind of change does this PR introduce?
Did you add tests for your changes?
If relevant, did you update the documentation?
Summary
There is a bug in maxFiles feature that
isDragReject
doesn't change when DragEvent contains more than the max number of filesThis bug reported #1017
Does this PR introduce a breaking change?
shouldn't
Other information