react-dropzone
Advanced tools
Comparing version 12.0.4 to 12.0.5
@@ -738,3 +738,3 @@ var _excluded = ["children"], | ||
if (event.keyCode === 32 || event.keyCode === 13) { | ||
if (event.key === " " || event.key === "Enter" || event.keyCode === 32 || event.keyCode === 13) { | ||
event.preventDefault(); | ||
@@ -741,0 +741,0 @@ openFileDialog(); |
@@ -174,3 +174,3 @@ { | ||
"typings": "typings/react-dropzone.d.ts", | ||
"version": "12.0.4", | ||
"version": "12.0.5", | ||
"engines": { | ||
@@ -177,0 +177,0 @@ "node": ">= 10.13" |
@@ -434,3 +434,6 @@ ![react-dropzone logo](https://raw.githubusercontent.com/react-dropzone/react-dropzone/master/logo/logo.png) | ||
### Hosting | ||
[react-dropzone.js.org](https://react-dropzone.js.org/) hosting provided by [netlify](https://www.netlify.com/). | ||
## License | ||
MIT |
@@ -745,3 +745,8 @@ /* eslint prefer-template: 0 */ | ||
if (event.keyCode === 32 || event.keyCode === 13) { | ||
if ( | ||
event.key === " " || | ||
event.key === "Enter" || | ||
event.keyCode === 32 || | ||
event.keyCode === 13 | ||
) { | ||
event.preventDefault(); | ||
@@ -748,0 +753,0 @@ openFileDialog(); |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
415852
6635
439