We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b98c3bb commit 58c9f14Copy full SHA for 58c9f14
index.js
@@ -85,6 +85,7 @@ var ScrollableTabView = React.createClass({
85
horizontal
86
pagingEnabled
87
style={styles.scrollableContentIOS}
88
+ contentContainerStyle={styles.scrollableContentContainerIOS}
89
contentOffset={{x:this.props.initialPage * this.state.container.width}}
90
ref={(scrollView) => { this.scrollView = scrollView }}
91
onScroll={(e) => {
@@ -190,8 +191,11 @@ var styles = StyleSheet.create({
190
191
container: {
192
flex: 1,
193
},
194
+ scrollableContentContainerIOS: {
195
+ flex: 1,
196
+ },
197
scrollableContentIOS: {
- flexDirection: 'row',
198
+ flexDirection: 'column',
199
200
scrollableContentAndroid: {
201
0 commit comments