rc-drawer
Advanced tools
Comparing version 0.4.6 to 0.4.7
@@ -78,3 +78,3 @@ 'use strict'; | ||
_this.setState({ | ||
touchIdentifier: touch.identifier, | ||
touchIdentifier: !_this.overlayClicked ? touch.identifier : null, | ||
touchStartX: touch.clientX, | ||
@@ -401,4 +401,8 @@ touchStartY: touch.clientY, | ||
if (this.state.touchSupported) { | ||
evt.onTouchStart = this.onOverlayClicked; | ||
evt.onTouchStart = function () { | ||
_this2.overlayClicked = true; | ||
_this2.onOverlayClicked(); | ||
}; | ||
evt.onTouchEnd = function () { | ||
_this2.overlayClicked = false; | ||
_this2.setState({ | ||
@@ -405,0 +409,0 @@ touchIdentifier: null |
{ | ||
"name": "rc-drawer", | ||
"version": "0.4.6", | ||
"version": "0.4.7", | ||
"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
25714
543