react-native-bottom-sheet
react-native-bottom-sheet copied to clipboard
[v4] BottomSheetFooter animation does not work with BottomSheetTextInput
Bug
When you use a BottomSheetTextInput inside a BottomSheetFooter, the footer reacts to a keyboard opening by "teleporting" to the correct position without an animation. The following is a video example. https://github.com/gorhom/react-native-bottom-sheet/assets/97407806/c9571aba-cf1a-4fd4-9287-2ff32af298a0
Environment info
Library | Version |
---|---|
@gorhom/bottom-sheet | ^4 |
react-native | 0.74.1 |
react-native-reanimated | 3.10.1 |
react-native-gesture-handler | 2.16.2 |
Steps To Reproduce
- Use a BottomSheetTextInput inside a BottomSheetFooter component
Describe what you expected to happen:
- When focused on the BottomSheetTextInput, the entire footer should move to avoid the keyboard with an animation (animation currently does not work)
Reproducible sample code
https://staging-snack.expo.dev/jTr3DrUym5MEeeP5NN0g4