React-Native-ViewPager icon indicating copy to clipboard operation
React-Native-ViewPager copied to clipboard

Scrolling doesn't work when inside <TouchableWithoutFeedback> and <View>

Open kvarela opened this issue 7 years ago • 0 comments

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!

kvarela avatar Feb 19 '18 21:02 kvarela