th3rdwave / react-navigation-bottom-sheet

MIT License
423 stars 18 forks source link

Doesn't seems to work with BottomSheetFlatList #2

Closed magrinj closed 2 years ago

magrinj commented 2 years ago

Thanks a lot for this library, I was planning to create one and during my search found this brand new one !

During the implementation everything seems to work fine except one thing, when using BottomSheetFlatList in the screen with at least 2 snapPoint it's not working.

Correct behaviour: You should be able to scroll to the last snapPoint form the BottomSheetFlatList.

Actual behaviour: Scroll event on BottomSheetFlatList aren't handle at all.

I've take a look on the view three, and I think it may be related to the fact that each screen is inside a react-navigation SceneView. Not sure at 100%, but I've seen some issue using BottomSheetFlatList in nested view on @gorhom/bottom-sheet library. Do you think we have an option to fix this problem ?

magrinj commented 2 years ago

After lot of test, seems to be directly related to @gorhom library #1008