react-native-drag-sort
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -129,6 +129,2 @@ import React, {Component} from 'react' | ||
if (this.props.onDragging) { | ||
this.props.onDragging(gestureState,left,top) | ||
} | ||
let moveToIndex = 0 | ||
@@ -156,2 +152,6 @@ let moveXNum = dx/this.itemWidth | ||
if (this.props.onDragging) { | ||
this.props.onDragging(gestureState, left, top, moveToIndex) | ||
} | ||
if (this.touchCurItem.moveToIndex != moveToIndex ) { | ||
@@ -158,0 +158,0 @@ const fixedItems = this.props.fixedItems; |
{ | ||
"name": "react-native-drag-sort", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Drag and drop sort control for react-native", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
75991