You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I have a BottomSheet into my ScrollView and I scroll a bit, my Pressables in my ScrollView are not responding anymore... If I remove the BottomSheet component, it works again...
It only happens on Android (physical phone, I have tested on Android 14). It works fine on physical iPhone, iPhone simulator and Android Simulator 🤔.
I'm experiencing the same issue. For the child components of the ScrollView, the onPress callbacks work correctly for any components that were initially rendered at the top (the initial scroll position).
However, if I scroll down and tap on components that were not visible in the initial scroll position (In other words, components ware hidden), their onPress callbacks do not fire.
FYI;
If you set enableContentPanningGesture as false in BottomSheetModal, it blocks all touch events in ScrollableContents after the content scrolls down. BottomSheetModal makes scroll handler bridge (BottomSheetDraggableView) internally, but when enableContentPanningGesture=false, the bridge is replaced by normal Animated.View, which seems to break Android touch chains in android real device
Version
v5
Reanimated Version
v3
Gesture Handler Version
v2
Platforms
Android
What happened?
When I have a BottomSheet into my ScrollView and I scroll a bit, my Pressables in my ScrollView are not responding anymore... If I remove the BottomSheet component, it works again...
It only happens on Android (physical phone, I have tested on Android 14). It works fine on physical iPhone, iPhone simulator and Android Simulator 🤔.
Any idea why that happens ?
Demo (sorry, I recorded on a very slow Android phone, I've tested on fast Android phone, same issue) :
https://github.com/user-attachments/assets/53510520-63a6-4dab-8307-55871a95c80c
Reproduction steps
If you remove the
<BottomSheet>
component (with its children), button presses will work fine, even after scrollReproduction sample
https://snack.expo.dev/@robeen/bottomsheet-press-issue-after-scroll?platform=android
Relevant log output
No response
The text was updated successfully, but these errors were encountered: