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.

Can't scroll BottomSheetScrollView within BottomSheet for Android

See original GitHub issue

Ask your Question

Hi, I’m facing an issue that I can’t scroll the BottomSheetScrollView within the BottomSheet using Android, but I can do this in iOS. So, reading the troubleshooting and some issues, is explain to us to use the ScrollView from react-native-gesture-handler and it’s scrolling properly, but now I can’t drag BottomSheet together with the ScrollView. Beside that, I’m using the <NativeViewGestureHandler disallowInterruption> too

So, I did a workaround and with iOS I’m using <BottomSheet> <BottomSheetScrollView> ... and I can drag both. But for Android I’m using <BottomSheet> <ScrollView> ..., however, I can’t drag both. Can something else I’m missing? Because I really want the drag action.

I’m using:

“react-native-gesture-handler”: “^1.10.3”, “react-native-reanimated”: “^2.2.0”, “@gorhom/bottom-sheet”: “^3”, “react-native”: “0.63.2”,

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:5
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
sahilbalodicommented, Aug 12, 2021

@gorhom please refer to the template. https://snack.expo.dev/@sahilbalodi/bottom-sheet-v4-reproducible-issue-template

scroll doesn’t seem to work when keyboard is opened or closed on android.

0reactions
gorhomcommented, Sep 4, 2021

@sahilbalodi i have tested on the stable release of v4 and it works fine, please try again and create new issue if the issue still exist

Read more comments on GitHub >

github_iconTop Results From Across the Web

Scrollview not scrolling in Android bottomsheet - Stack Overflow
First: don't use ScrollView when you are using CoordinatorLayout instead user NestedScrollView its works much better with CoordinatorLayout. Second: put a blank ...
Read more >
[v4] ScrollView doesn't work inside BottomSheet #1085 - GitHub
Bug When I add ScrollView in the BottomSheet, I cannot scroll to the bottom; with the BottomSheetScrollView, I don't have this problem, ...
Read more >
Scrollview not scrolling in Android bottomsheet - YouTube
Android : Scrollview not scrolling in Android bottomsheet [ Beautify Your Computer ... Your browser can't play this video.
Read more >
Troubleshooting | React Native Bottom Sheet - GitHub Pages
Adding horizontal FlatList or ScrollView is not working properly on Android​. Due to wrapping the content and handle with TapGestureHandler & PanGestureHandler ...
Read more >
Handling Scrolls with CoordinatorLayout - CodePath Cliffnotes
Any scroll events to the RecyclerView should trigger changes to the AppBarLayout layout or any views contained within it. Scroll events in the...
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