Open
Description
<View style={{ flex: 1, marginTop: Platform.OS == 'android' ? height / 8 : height / 6.5, marginBottom: 40, borderRadius: 10, }} > <Carousel loop width={width * 1} height={width / 2} autoPlay autoPlayInterval={5000} data={images} renderItem={({ item }) => ( <Pressable style={styles.banner} onPress={() => navigation.navigate('Banner')}> <Image source={item} style={styles.imgBanner} /> </Pressable> )} /> </View>
I am using:
"react-native-gesture-handler": "~2.20.2",
"react-native-reanimated": "~3.16.1",
"react-native-reanimated-carousel": "^4.0.2",
When I do a horizontal swipe on android everything works fine. For IOS the range that can be swiped and right pressed is around the top of the photo