if initialPage value not default , the content will not show?
Do you mean your custom tab bar?
<ScrollableTabView initialPage={0} tabBarUnderlineStyle={{backgroundColor: '#11cab0'}}
tabBarActiveTextColor="#991cbf" tabBarInactiveTextColor="#11cfa5">
<Text tabLabel="React" style={{fontSize: 30}}>1111</Text>
<Text tabLabel="Flow" style={{fontSize: 40}}>222222</Text>
<Text tabLabel="Jest" style={{fontSize: 50}}>333333</Text>
</ScrollableTabView>
when the initialPage's value is 1,the Text value 222222 will not show。
android?
yes。
Try to install from master if it doesn't work there is issue for that.
Installing from master solved this for me. Is there a chance you can tag it, @skv-headless ?
Same issue~ what is the meaning of "install from master"?
@Calvin92, replace your react-native-scrollable-tab-view dependency in your package.json for the following:
"react-native-scrollable-tab-view": "git+https://github.com/brentvatne/react-native-scrollable-tab-view.git#50145bf"
Is https://github.com/skv-headless/react-native-scrollable-tab-view/pull/534 solving this? If so, it would be cool to have it tagged on npm :)
This bug happens on Android for me but not on iOS, fyi.
And yes, npm i --save react-native-scrollable-tab-view@skv-headless/react-native-scrollable-tab-view#2d8213fdoes fix it.