[FEATURE REQUEST] How to scroll vertical with ScrollView
Opened this issue · 1 comments
0x01001 commented
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?
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)}
/>
Luehang commented
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.