Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@valdio/react-native-scrollable-tabview

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@valdio/react-native-scrollable-tabview - npm Package Compare versions

Comparing version
0.8.4
to
0.8.5
+10
-1
index.js

@@ -172,4 +172,14 @@ import React, {Component} from 'react'

renderScrollableContent() {
//in case of the collapsible scroll view the pull to refresh animation will be applied on the container
//on the other case the refresh animations will be applied here.
const isContainerScrollView = this.props.collapsableBar ? true : false
const scenes = this._composeScenes()
return <Animated.ScrollView
refreshControl={!isContainerScrollView &&
<RefreshControl style={this.props.refreshControlStyle || {}}
refreshing={this.state.refreshing}
onRefresh={this._onRefresh}/> || {}}
showsVerticalScrollIndicator={this.props.showsVerticalScrollIndicator}
showsHorizontalScrollIndicator={this.props.showsHorizontalScrollIndicator}
horizontal

@@ -185,3 +195,2 @@ pagingEnabled

scrollsToTop={false}
showsHorizontalScrollIndicator={false}
scrollEnabled={!this.props.locked}

@@ -188,0 +197,0 @@ directionalLockEnabled

+1
-1
{
"name": "@valdio/react-native-scrollable-tabview",
"version": "0.8.4",
"version": "0.8.5",
"description": "",

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

@@ -129,6 +129,7 @@

//execute callback in order to stop the refresh animation.
_onRefresh = (callback) => {
//execute callback in order to stop the refresh animation.
setTimeout(callback({test: 'test'}, 3000))
}
networkReqyest().then(response => callback(response))
}
render() {

@@ -135,0 +136,0 @@ return <ScrollableTabView

@@ -6,3 +6,3 @@ # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.

react-timer-mixin@^0.13.3:
version "0.13.3"
resolved "https://registry.yarnpkg.com/react-timer-mixin/-/react-timer-mixin-0.13.3.tgz#0da8b9f807ec07dc3e854d082c737c65605b3d22"
version "0.13.4"
resolved "https://registry.yarnpkg.com/react-timer-mixin/-/react-timer-mixin-0.13.4.tgz#75a00c3c94c13abe29b43d63b4c65a88fc8264d3"