Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-native-drag-sort

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-drag-sort - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

8

DragSortableView.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc