rc-drawer
Advanced tools
Comparing version 0.4.10 to 0.4.11
@@ -37,3 +37,6 @@ import _defineProperty from 'babel-runtime/helpers/defineProperty'; | ||
if (_this.props.open) { | ||
_this.props.onOpenChange(false, { overlayClicked: true }); | ||
// see https://github.com/react-component/drawer/issues/9 | ||
setTimeout(function () { | ||
_this.props.onOpenChange(false, { overlayClicked: true }); | ||
}, 0); | ||
} | ||
@@ -40,0 +43,0 @@ }; |
@@ -77,3 +77,6 @@ 'use strict'; | ||
if (_this.props.open) { | ||
_this.props.onOpenChange(false, { overlayClicked: true }); | ||
// see https://github.com/react-component/drawer/issues/9 | ||
setTimeout(function () { | ||
_this.props.onOpenChange(false, { overlayClicked: true }); | ||
}, 0); | ||
} | ||
@@ -80,0 +83,0 @@ }; |
{ | ||
"name": "rc-drawer", | ||
"version": "0.4.10", | ||
"version": "0.4.11", | ||
"description": "drawer ui component for react", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
43741
982