Luehang/react-native-swipe-render

[FEATURE REQUEST] How to scroll vertical with ScrollView

Opened this issue · 1 comments

Can't scroll if ImageTransformer inside SwipeRender
When transform image is bottom need pass to parent control scroll in this case is ScrollView of SwipeRender. Please help me, any option to fix this issue?

Image of

in parent:

<SwipeRender
          data={this.dataSource}
          renderItem={this.renderItem}
          loop={false} // default false
          horizontal={false} // default true
          autoplayDirection={false}
          enableAndroidViewPager={false} // default ScrollView
          onIndexChanged={index => utils.log('onIndexChanged: ' + index)} 
          showsVerticalScrollIndicator
          pagingEnabled={false} 
        />

in renderItem (using react-native-image-transformer):

<ImageTransformer
          style={styles.image}
          image={{
            uri: img,
            dimensions,
          }}
          maxScale={2.5}
          resizeMode="stretch"  
          onSingleTapConfirmed={() => this.onPress(index)} 
        />

Hi, thanks for letting me know.

A lot of these packages are transitioning from react-native < 0.59 to >= 0.60. I will add this when I have time. If you can help solve this problem, it would help a lot. Thanks.