Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Reject all files in single file drop (#641)
If multiple files were dropped and `multiple == false`, react-dropzone will reject all files. Previously it would accept one file and reject the rest. BREAKING CHANGE: This can break applications that rely on the current behavior. Closes #458
- Loading branch information
1 parent
71a54ad
commit da18e76
Showing
2 changed files
with
16 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters