rc-upload
Advanced tools
Comparing version 2.6.4 to 2.6.5
@@ -216,3 +216,3 @@ import _extends from 'babel-runtime/helpers/extends'; | ||
onClick: openFileDialogOnClick ? this.onClick : function () {}, | ||
onKeyDown: this.onKeyDown, | ||
onKeyDown: openFileDialogOnClick ? this.onKeyDown : function () {}, | ||
onDrop: this.onFileDrop, | ||
@@ -219,0 +219,0 @@ onDragOver: this.onFileDrop, |
# History | ||
---- | ||
### 2.6.5 | ||
- fix `openFileDialogOnClick={false}` not to prevent on Enter event. | ||
### 2.6.0 / 2018-09-21 | ||
@@ -5,0 +9,0 @@ |
@@ -260,3 +260,3 @@ 'use strict'; | ||
onClick: openFileDialogOnClick ? this.onClick : function () {}, | ||
onKeyDown: this.onKeyDown, | ||
onKeyDown: openFileDialogOnClick ? this.onKeyDown : function () {}, | ||
onDrop: this.onFileDrop, | ||
@@ -263,0 +263,0 @@ onDragOver: this.onFileDrop, |
{ | ||
"name": "rc-upload", | ||
"version": "2.6.4", | ||
"version": "2.6.5", | ||
"description": "upload ui component for react", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -76,3 +76,3 @@ # rc-upload | ||
|withCredentials | boolean | false | ajax upload with cookie send | | ||
|openFileDialogOnClick | boolean | true | | | ||
|openFileDialogOnClick | boolean | true | useful for drag only upload as it does not trigger on enter key or click event | | ||
@@ -79,0 +79,0 @@ #### onError arguments |
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
68250