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

@kitten-team/react-native-sortable-grid

Package Overview
Dependencies
Maintainers
5
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kitten-team/react-native-sortable-grid - npm Package Compare versions

Comparing version 2.0.8 to 2.0.9

7

index.js

@@ -16,3 +16,3 @@ import * as React from 'react'

const ITEMS_PER_ROW = 4
const DRAG_ACTIVATION_TRESHOLD = 350 // Milliseconds
const DRAG_ACTIVATION_TRESHOLD = 1000 // Milliseconds
const BLOCK_TRANSITION_DURATION = 300 // Milliseconds

@@ -24,3 +24,3 @@ const ACTIVE_BLOCK_CENTERING_DURATION = 200 // Milliseconds

class Block extends React.Component {
class Block extends React.PureComponent {

@@ -361,2 +361,5 @@ componentWillMount = () => {

let itemOrder = _.sortBy( this.itemOrder, item => item.order )
this.state.blockPositions.forEach((item) => {
item.currentPosition.flattenOffset();
})
this.onDragRelease({ itemOrder })

@@ -363,0 +366,0 @@ this.setState({ activeBlock: null })

@@ -8,3 +8,3 @@ {

],
"version": "2.0.8",
"version": "2.0.9",
"description": "Drag-and-drop sortable grid view for React Native.",

@@ -11,0 +11,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