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
Case: I am using BottomSheetModal for a phone country picker, inside the BottomSheetModal we have a FlatList with a bunch of TouchableOpacity(buttons) rendered, when user clicks on one of the buttons inside the FlatList I will get callingCode of the country he pressed on and use it on the screen.
Problem:
I think everything is done properly in my code and it works fine on IOS, However, with Android there are some issues, when the BottomSheetModal is opened, it presents the FlatList with data fine but, can NOT vertically scroll down and throws this warning: Warning: Cannot record touch end without a touch start. Touch End: {"identifier":0,"pageX":0,"pageY":0,"timestamp":3142039} Touch Bank: [null,null,null,{"touchActive":true,"startPageX":237.98269653320312,"startPageY":209.98660278320312,"startTimeStamp":3141861,"currentPageX":237.98269653320312,"currentPageY":220.90757751464844,"currentTimeStamp":3142031,"previousPageX":237.98269653320312,"previousPageY":209.98660278320312,"previousTimeStamp":3141861}]
I tried the same FlatList without the BottomSheetModal and it worked perfectly with no issues, I tried to keep it and use TouchableOpacity from '@gorhom/bottom-sheet' or 'react-native-gesture-handler' still did NOT work and got same warning.
Bug
Case: I am using BottomSheetModal for a phone country picker, inside the BottomSheetModal we have a FlatList with a bunch of TouchableOpacity(buttons) rendered, when user clicks on one of the buttons inside the FlatList I will get callingCode of the country he pressed on and use it on the screen.
Problem:
I think everything is done properly in my code and it works fine on IOS, However, with Android there are some issues, when the BottomSheetModal is opened, it presents the FlatList with data fine but,
can NOT vertically scroll down
and throws this warning:Warning: Cannot record touch end without a touch start. Touch End: {"identifier":0,"pageX":0,"pageY":0,"timestamp":3142039} Touch Bank: [null,null,null,{"touchActive":true,"startPageX":237.98269653320312,"startPageY":209.98660278320312,"startTimeStamp":3141861,"currentPageX":237.98269653320312,"currentPageY":220.90757751464844,"currentTimeStamp":3142031,"previousPageX":237.98269653320312,"previousPageY":209.98660278320312,"previousTimeStamp":3141861}]
I tried the same FlatList without the BottomSheetModal and it worked perfectly with no issues, I tried to keep it and use TouchableOpacity from '@gorhom/bottom-sheet' or 'react-native-gesture-handler' still did NOT work and got same warning.
Environment info
Steps To Reproduce
Describe what you expected to happen:
Reproducible sample code
The text was updated successfully, but these errors were encountered: