question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[v4] | [v2] enablePanDownToClose not work with List on 4.4.3 version on IOS devices

See original GitHub issue

Bug

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

  1. Open react-native-bottom-sheet example project
  2. Open FlatListoption on Basic section
  3. 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:closed
  • Created a year ago
  • Reactions:1
  • Comments:5

github_iconTop GitHub Comments

2reactions
hirbodcommented, Aug 13, 2022

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

1reaction
anshcommented, Sep 4, 2022

Fixed in expo-dev-client v1.2.1 as noted in the issue that @hirbod linked to.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found