Socket
Book a DemoInstallSign in
Socket

react-native-common-date-picker

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-common-date-picker - npm Package Compare versions

Comparing version

to
2.3.3

4

CHANGELOG.md
# Change Log
## 2.3.3(July 15, 2020)
- Fix: remove "onViewableItemsChanged" method because it will cause crash on Android release
## 2.3.2(July 12, 2020)

@@ -4,0 +8,0 @@

2

package.json
{
"name": "react-native-common-date-picker",
"version": "2.3.2",
"version": "2.3.3",
"description": "An awesome and cross-platform React Native date picker and calendar component for iOS and Android",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -100,2 +100,3 @@ import React, {Component} from 'react';

_scrollEnd = ({contentOffset}) => {
this._removeTimer();
const y = contentOffset.y;

@@ -128,8 +129,5 @@ const {rowHeight} = this.state;

this._scrollEnd(nativeEvent);
this._removeTimer();
}, 150);
};
_onViewableItemsChanged = ({viewableItems}) => this._removeTimer();
_getFlatListStyle = () => {

@@ -216,2 +214,3 @@ const {textMarginHorizontal} = this.state;

_onScroll = ({nativeEvent}) => {
this._removeTimer();
const {rowHeight, initialRow} = this.state;

@@ -249,3 +248,2 @@ const offsetY = nativeEvent.contentOffset.y;

keyExtractor={(item, index) => index.toString()}
onViewableItemsChanged={this._onViewableItemsChanged}
onScrollEndDrag={this._onScrollEndDrag}

@@ -252,0 +250,0 @@ onMomentumScrollEnd={this._onMomentumScrollEnd}

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.