Socket
Socket
Sign inDemoInstall

react-native-drag-sort

Package Overview
Dependencies
0
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.3.7 to 2.3.8

8

AutoDragSortableView.js

@@ -617,2 +617,5 @@ import React, {Component} from 'react'

_renderItemView = () => {
const {maxScale, minOpacity} = this.props
const inputRange = maxScale >= 1 ? [1, maxScale] : [maxScale, 1]
const outputRange = maxScale >= 1 ? [1, minOpacity] : [minOpacity, 1]
return this.state.dataSource.map((item,index)=>{

@@ -634,6 +637,3 @@ const transformObj = {}

top: item.position.y,
opacity: item.scaleValue.interpolate({
inputRange:[1,this.props.maxScale],
outputRange:[1,this.props.minOpacity]
}),
opacity: item.scaleValue.interpolate({inputRange,outputRange}),
transform: [transformObj]

@@ -640,0 +640,0 @@ }]}>

@@ -426,2 +426,5 @@ import React, {Component} from 'react'

_renderItemView = () => {
const {maxScale, minOpacity} = this.props
const inputRange = maxScale >= 1 ? [1, maxScale] : [maxScale, 1]
const outputRange = maxScale >= 1 ? [1, minOpacity] : [minOpacity, 1]
return this.state.dataSource.map((item,index)=>{

@@ -443,6 +446,3 @@ const transformObj = {}

top: item.position.y,
opacity: item.scaleValue.interpolate({
inputRange:[1,this.props.maxScale],
outputRange:[1,this.props.minOpacity]
}),
opacity: item.scaleValue.interpolate({inputRange,outputRange}),
transform: [transformObj]

@@ -449,0 +449,0 @@ }]}>

{
"name": "react-native-drag-sort",
"version": "2.3.7",
"version": "2.3.8",
"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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc