rc-drawer
Advanced tools
Comparing version 4.4.2 to 4.4.3
@@ -49,2 +49,4 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
if (e.touches.length > 1) { | ||
// need clear the startPos when another touch event happens | ||
_this.startPos = null; | ||
return; | ||
@@ -60,3 +62,4 @@ } | ||
_this.removeMoveHandler = function (e) { | ||
if (e.changedTouches.length > 1) { | ||
// the startPos may be null or undefined | ||
if (e.changedTouches.length > 1 || !_this.startPos) { | ||
return; | ||
@@ -63,0 +66,0 @@ } |
@@ -74,2 +74,4 @@ "use strict"; | ||
if (e.touches.length > 1) { | ||
// need clear the startPos when another touch event happens | ||
_this.startPos = null; | ||
return; | ||
@@ -85,3 +87,4 @@ } | ||
_this.removeMoveHandler = function (e) { | ||
if (e.changedTouches.length > 1) { | ||
// the startPos may be null or undefined | ||
if (e.changedTouches.length > 1 || !_this.startPos) { | ||
return; | ||
@@ -88,0 +91,0 @@ } |
{ | ||
"name": "rc-drawer", | ||
"version": "4.4.2", | ||
"version": "4.4.3", | ||
"description": "drawer component for react", | ||
@@ -55,3 +55,3 @@ "keywords": [ | ||
"@types/enzyme": "^3.1.15", | ||
"@types/jest": "^26.0.0", | ||
"@types/jest": "^27.0.2", | ||
"@types/raf": "^3.4.0", | ||
@@ -58,0 +58,0 @@ "@types/react": "^17.0.9", |
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
81385
1938