Open
Description
Bug
I was able to reproduce this both with 4.6.4
and 5-alpha.11
. When I have a scroll view and there is a text input at the bottom, the text input falls behind the keyboard on Android. I'm using the android_keyboardInputMode="adjustResize"
and my snap point here is 100%
.
Screen.Recording.2024-09-12.at.14.57.31.mov
Environment info
Library | Version |
---|---|
@gorhom/bottom-sheet | 4.6.4 |
react-native | 0.74.1 |
react-native-reanimated | 3.10.1 |
react-native-gesture-handler | 2.16.1 |
Steps To Reproduce
- Create a bottom sheet with a long scrollable content
- Place a text input at the bottom
- Set
android_keyboardInputMode="adjustResize"
(also change this option in yourapp.json
/AndroidManifest.xml
toadjustResize
- Set your snap point as
100%
- Scroll to the bottom
- Click on the text input on Android
Describe what you expected to happen:
- The text input should still be visible when the keyboard is enabled
What's happening instead:
- The text input falls behind the keyboard ~70% of the time
Reproducible sample code
https://snack.expo.dev/@atlj0/bottom-sheet-v4-android-keyboard-hides-textinput