React-Native-ViewPager
React-Native-ViewPager copied to clipboard
Scrolling doesn't work when inside <TouchableWithoutFeedback> and <View>
I have the following view hierarchy where the <IndicatorViewPager> doesn't work:
onPress={this.props.completeCheckBoostTutorial}>
<View style={styles.container}>
<IndicatorViewPager
style={{ height: 200 }}
indicator={this._renderDotIndicator()}
>
<View style={{ backgroundColor: 'cadetblue' }}>
<Text>page one</Text>
</View>
<View style={{ backgroundColor: 'cornflowerblue' }}>
<Text>page two</Text>
</View>
<View style={{ backgroundColor: '#1AA094' }}>
<Text>page three</Text>
</View>
</IndicatorViewPager>
<Button title={"test"} onPress={() => console.log('button pressed')}>test</Button>
</View>
</TouchableWithoutFeedback>```
Please help!