-
Notifications
You must be signed in to change notification settings - Fork 2.3k
initialPage option - page not rendering - In Android #483
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Kindly help me on this issue. |
Can you reproduce this bug on example? |
@skv-headless I don't know to show you live example. Please suggest me an online tool. The code is as below
|
I can't reproduce this bug. |
@skv-headless This issue is coming only in Android and working fine in IOS |
What react-native-scrollable-tab-view version do you use? Please try the latest one |
0.7.0 |
@edelworksgithub I also have this issue,do you have handled this issue |
@zhoujuanjuan not yet.. might be the problem is with ScrollView. |
same problem work for me: v0.6.0...v0.7.0#commitcomment-20063817 |
@skv-headless I use RN version 0.29.2,react-native-scrollable-tab-view version 0.7.0 ,and I put SimpleExample.js to my project , when I set initialPage = 2,the current page not show |
me too... |
change react-native-scrollable-tab-view to version 0.6.0,it works |
|
Same issue. |
If someone wants to make pr https://facebook.github.io/react-native/docs/scrollview.html#methods you can try |
Guys, please try version from master. After some feedback I'll release new version. |
Not working for me. Had to add time out. |
@skv-headless Now It works with the version from master but there's a slight delay of 500ms. Tab is blank for half a second if initalPage is > 0 |
It works for example project. Please provide code snippet. We can continue discussion here #510 |
Works for me. |
Try this. It worked. Ideal for changing first pages. componentDidMount() { |
this works |
Hi I am using RN version 0.36.1
I need the second page (or a specific page) to be shown at first.
While using "InitialPage" props, TabBar position is correct, but the page is not showing... and when I swipe the first page is displaying.
Code is as below
var Page = React.createClass({ render() { return ( <View style={styles.container}> <Text style={styles.welcome}>Page {this.props.num}</Text> </View> ); } });
<ScrollableTabView initialPage={2} locked={false}> <Page num="1" tabLabel="React" /> <Page num="2" tabLabel="Flow"/> <Page num="3" tabLabel="Jest" /> </ScrollableTabView>
Screenshots
The text was updated successfully, but these errors were encountered: