@valdio/react-native-scrollable-tabview
Advanced tools
+5
-3
@@ -174,7 +174,8 @@ import React, {Component} from 'react' | ||
| //on the other case the refresh animations will be applied here. | ||
| const isContainerScrollView = this.props.collapsableBar ? true : false | ||
| const isContainerScrollView = !!this.props.collapsableBar | ||
| const scenes = this._composeScenes() | ||
| return <Animated.ScrollView | ||
| refreshControl={!isContainerScrollView && | ||
| refreshControl={!isContainerScrollView && this.props.pullToRefresh && typeof this.props.pullToRefresh === 'function' && | ||
| <RefreshControl style={this.props.refreshControlStyle || {}} | ||
@@ -323,3 +324,4 @@ refreshing={this.state.refreshing} | ||
| return (<ContainerView | ||
| refreshControl={isScrollView && | ||
| refreshControl={isScrollView && this.props.pullToRefresh && typeof this.props.pullToRefresh === 'function' && | ||
| <RefreshControl style={this.props.refreshControlStyle || {}} | ||
@@ -326,0 +328,0 @@ refreshing={this.state.refreshing} |
+1
-1
| { | ||
| "name": "@valdio/react-native-scrollable-tabview", | ||
| "version": "0.8.8", | ||
| "version": "0.8.9", | ||
| "description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
35425
0.42%