react-native-bottom-sheet
react-native-bottom-sheet copied to clipboard
[Bug]: BottomSheetTextInput behind keyboard when mutliline is enabled
Version
v5
Reanimated Version
v3
Gesture Handler Version
v2
Platforms
iOS
What happened?
When BottomSheetTextInput has multiline enabled and is in a BottomSheetScrollView it does not get scrolled to when the sheet changes causing it to be behind the keyboard.
Reproduction steps
- Create a bottom sheet with a
BottomSheetScrollView - Add a component with enough height to force scrolling
- Add a
BottomSheetTextInputwithmultilineprop enabled - Open the bottom sheet
- Tap on the multiline text input to focus it
- Observe that the input is not automatically scrolled into view
Reproduction sample
https://snack.expo.dev/@ben.guericke/bottom-sheet---issue-reproduction-template
Relevant log output