[v4] | [v2] enablePanDownToClose not work with List on 4.4.3 version on IOS devices
See original GitHub issueBug
With the example project of this library 4.4.3 version. On iOS devices, all of the basic List with enablePanDownToClose == true (prop of BottomSheetModal/BottomSheet) doesn’t work.
Environment info
Library | Version |
---|---|
@gorhom/bottom-sheet | latest |
react-native | latest |
react-native-reanimated | latest |
react-native-gesture-handler | latest |
Steps To Reproduce
- Open react-native-bottom-sheet example project
- Open FlatListoption on Basic section
- Scroll from top to bottom of the FlatList
Describe what you expected to happen:
1.On iOS When scroll down FlatList or VirtualizedList inside BottomSheetModal/BottomSheet will close the BottomSheet 2…
Reproducible sample code
<View style={styles.container}>
<BottomSheet
ref={bottomSheetRef}
index={1}
snapPoints={snapPoints}
onChange={handleSheetChanges}
enablePanDownToClose={true}
>
<FlatList ..props />
</BottomSheet>
</View>
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:5
Top Results From Across the Web
If your iPhone or iPad won't update
If your device doesn't support new software. If you don't see the option to update to new software like iOS 16 or iPadOS...
Read more >gorhom/bottom-sheet
A performant interactive bottom sheet with fully configurable options . Latest version: 4.4.5, last published: 3 months ago.
Read more >Android vs iOS - Difference and Comparison
Android vs iOS comparison. Google's Android and Apple's iOS are operating systems used primarily in mobile technology, such as smartphones and tablets.
Read more >Last issues related to gorhom/react-native-bottom-sheet project
[v4] Native virtualized list within a BottomSheetScrollView not working in ... [v2] enablePanDownToClose not work with List on 4.4.3 version on IOS devices....
Read more >Articles Which versions of iOS does Duo Mobile support?
Duo recommends upgrading to the most recent version of iOS available for your device. The Duo Mobile app is compatible with the M1...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Gorhom and I invested a decent amount of time for this issue. It’s related to Expo and ONLY happens in Dev mode. As soon as you build a release, the pan down to close feature works. So while it’s annoying right now to test the features, they work when you create a release build
https://github.com/software-mansion/react-native-gesture-handler/issues/2169
Fixed in expo-dev-client v1.2.1 as noted in the issue that @hirbod linked to.