react-native-drag-sort
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -105,3 +105,3 @@ import React, {Component} from 'react' | ||
startTouch(touchIndex) { | ||
this.isMovePanResponder = true | ||
if (this.measureTimeOut) clearTimeout(this.measureTimeOut) | ||
@@ -127,2 +127,6 @@ | ||
} | ||
this.isMovePanResponder = true | ||
this.isScaleRecovery = setTimeout(()=>{ | ||
this.endTouch() | ||
},300) | ||
}) | ||
@@ -133,3 +137,8 @@ } | ||
moveTouch (nativeEvent,gestureState) { | ||
if (this.isScaleRecovery) clearTimeout(this.isScaleRecovery) | ||
if (this.touchCurItem) { | ||
@@ -232,3 +241,3 @@ | ||
endTouch (nativeEvent) { | ||
//clear | ||
@@ -235,0 +244,0 @@ if (this.measureTimeOut) clearTimeout(this.measureTimeOut) |
{ | ||
"name": "react-native-drag-sort", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Drag and drop sort control for react-native", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
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
28818
388