Not able to make both the BottomSheet and the Flatlist respond to scroll gesture on android
import flatlist from 'react-native-gesture-handler'
it worked for me :)
@Xadinsx Worked just fine, Thanks!
@Xadinsx @praneeth-hiver hi there, I am having problem with not being able to scroll up all item in the list
renderContent = () => (
<View
style={{
height: 600,
backgroundColor: 'green',
marginHorizontal: '5%',
borderTopLeftRadius: 5,
borderTopRightRadius: 5,
padding: moderateScale(10),
}}>
<ScrollView>
{arr.map((i: any) => {
return (
<View style={{height: 50, backgroundColor: 'yellow'}}>
<Text>{i}</Text>
</View>
);
})}
</ScrollView>
</View>
);
what shall I do, I have been stuck on this for a while now
import flatlist from 'react-native-gesture-handler'
it worked for me :)
Thanks a lot!
Most helpful comment
import flatlist from 'react-native-gesture-handler'
it worked for me :)