-
-
Notifications
You must be signed in to change notification settings - Fork 914
Closed
Labels
Description
Bug
When using the useBottomSheetDynamicSnapPoints together with BottomSheetFlatList, it's not possible to scroll the list anymore.
RPReplay_Final1632436636.MP4
Environment info
| Library | Version |
|---|---|
| @gorhom/bottom-sheet | 4.0.3 |
| react-native | 0.64.2 |
| react-native-reanimated | 2.2.2 |
| react-native-gesture-handler | 1.10.3 |
Steps To Reproduce
- add a
BottomSheetwith theanimatedSnapPoints,animatedContentHeightandanimatedHandleHeightprovided byuseBottomSheetDynamicSnapPoints - set the
handleContentLayoutto the child - add a big enough list to overflow the screen
Describe what you expected to happen:
- it's not possible to scroll anymore
Reproducible sample code
Here's a Snack to reproduce:
https://snack.expo.dev/@alexisloiselle/dynamic-height-with-flatlist-not-scrolling
ozasadnyy, VyacheslavAA, misfits91, tslater, pronevich and 23 more