Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v4] Enable FlatList scrolling when BottomSheet has multiple snapPoints #1547

Closed
halid96 opened this issue Sep 25, 2023 · 7 comments
Closed
Labels

Comments

@halid96
Copy link

halid96 commented Sep 25, 2023

When the BottomSheet has multiple snapPoints eg: const snapPoints = useMemo(() => ["60%", "90%"]); When a BottomSheetFlatList exists. The scrolling prioritizes the snap index of BottomSheet, instead of scrolling the BottomSheetFlatList contents.

I tried to enableContentPanningGesture={false} to disable the Snap Index change, but this also disables the BottomSheetFlatList scrolling.

Please allow a user to change the Snap Index only from the handler

Environment info

Library Version
@gorhom/bottom-sheet 4
react-native 0.72.3
react-native-reanimated ~3.3.0
react-native-gesture-handler ~2.12.0
@halid96 halid96 added the bug Something isn't working label Sep 25, 2023
@github-actions
Copy link

@halid96: hello! 👋

This issue is being automatically closed because it does not follow the issue template.

@getsadzeg
Copy link

Have you found the workaround of this, by any chance, @halid96 ?

@vlkpa
Copy link

vlkpa commented Sep 29, 2023

try to use FlatList from react-native instead of BottomSheetFlatList

@getsadzeg
Copy link

try to use FlatList from react-native instead of BottomSheetFlatList

I couldn't scroll FlatList from react-native inside BottomSheet at all.

@halid96
Copy link
Author

halid96 commented Sep 30, 2023

Have you found the workaround of this, by any chance, @halid96 ?

No solution yet. TikTok also can't do it, the comments section cannot be adjusted by users. Its always 60%.

@j-elmer123
Copy link

got similar issue here

@factorycreacom
Copy link

Can anyone find a solution to this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants