Open vuciv opened 3 years ago
same
verticalSwipe={false}
And use TouchableWithoutFeedback inside Scrollview
verticalSwipe={false}
And use TouchableWithoutFeedback inside Scrollview
After hours of search, this worked. Some other people recommended using inside
verticalSwipe={false}
And use TouchableWithoutFeedback inside Scrollview
Wow! This really saved my day. Thanks.
This wasted my day. Thanks
Sorry a newbie here. Can someone show me some example code please?
This worked, thanks!
Hi, this works like a charm. However, scrolling vertically is freakishly difficult for me as the horizontal swipe gestures are very sensitive. Is there any way to make vertical scrolling less difficult?
Ok, I fixed it using a touchable opacity. No idea why using TouchableWithoutFeedback did not work for me.
Hey guys, this solution works on IOS but not on android for me. Any suggestion ?
<ScrollView className="max-h-[150px]" persistentScrollbar={true}>
<TouchableOpacity
accessibilityRole="scrollbar"
onPress={() => alert("hello")}
>
<Text className="text-[#E2D8CC] text-xl">{answer}</Text>
</TouchableOpacity>
</ScrollView>
where am I going wrong ? I tested with touchablewithout feedback as well but not working
I still have the same problem, anyone solved it? did not work with TouchableOpacity or with touchableWithoutFeedback
Sam IOS is fine but not on Android, any solution?
I am distant to this problem, but wanted to chip-in in case this may be of help. Don't shoot the messenger if it does not.
Based on my prior experience on something else, Android has an issue with scrollview. I recall solving it by putting {flex: 1} in the style of the main <View>
that encapsulates <Scrollview>
and other <View>
elements. Hope in your use case this solves it also. Worth a shot.
I've read through the past problems on this, but can't find a solution that doesn't make the gesture very buggy.
Any thoughts?