When I use ScrollableTabView is nested inside ScrollView, it can't show anything in Android althought I updated ScrollableTabView version 0.8.0.
react-native-cli: 2.0.1 react-native: 0.44.3
My code like this:
render() {
return (
<ScrollView>
{this._renderUser()}
<ScrollableTabView
tabBarActiveTextColor="red"
tabBarUnderlineStyle={{ backgroundColor: 'red' }}
initialPage={0}
renderTabBar={() => <DefaultTabBar textStyle={Styles.tabText} />}>
<ScrollView
tabLabel="线索"
style={Styles.tabView}>
<ListView dataSource={this.state.dataSource}
renderRow={this._renderRow} />
</ScrollView>
<ScrollView
tabLabel="客户档案">
{this._renderCusProfile()}
</ScrollView>
</ScrollableTabView>
</ScrollView>
);
}
Please click here to show image example
Any pointers to what I might need to change in your code to get this to work?
Thanks