Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: only call *onDrag callbacks when dragging files (#619)
BREAKING CHANGE: Callbacks won't get executed for non-file items anymore i.e. if items aren't of type `File` when react-dropzone will ignore them.
- Loading branch information
1 parent
343d41f
commit 60d995e
Showing
4 changed files
with
199 additions
and
74 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
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
Oops, something went wrong.