Open oporter1 opened 4 years ago
i think the issue is actually that the renderOverlayLabel has a width and height of 100% and a flex:1 with absolute position so it is covering the scrollview.. the 'like' and 'nope' is covering the scrollview. at least that is part of the issue. in swiper.js
When I upgraded RN to version 0.6.4.1 Swiper stopped working. I am no longer able to vertically scroll through the cards but I can still swipe to the right and left.
I get an error:
So I have tried a number of things to "un-nest" these scroll views but have had no luck. I am curious if this error has been seen before by other people and what they have done to resolve it. I need my cards (located in MatchCard) to be scrollable. Does the Swiper have a flatlist in it already? This was working before the upgrade to RN and all of my other scrollable components are working fine.
`return (
match card:
`return ( <ScrollView style={style.card} contentContainerStyle={styles.scrollContent} showsVerticalScrollIndicator={false} onLayout={({ nativeEvent: { layout: {width, height}, }, }) => setHeightWidthState({...state, width, height})}> <View style={{flex: 1}}> <MatchImage match={match} name={fullName} location={currentLocation.name} imageDimensions={{width, height}} />