Description
I am facing an issue with the TextInput (composer) behavior in react-native-gifted-chat after upgrading to a newer version.
Library Version
react-native-gifted-chat: ^3.2.3
Issue
When typing and sending a message using the composer:
- The keyboard closes automatically after every message is sent
- The user has to tap the input again to reopen the keyboard\
- Spacing issue between the keyboard and composer while hardware button is visible on android
Observed Behavior
- After sending a message, the keyboard dismisses automatically
- This happens every time a message is sent
- This behavior interrupts continuous typing or sending multiple messages
Expected Behavior
The keyboard should remain open after sending a message, and should only close when:
- The user manually presses the back button, or
- The user taps outside the TextInput
Regression
- This behavior was working correctly in previous versions of
react-native-gifted-chat
- The issue started appearing after upgrading to version ^3.2.3
Android Navigation-Specific Behavior
Additional Notes
- No custom keyboard or safe-area handling logic has been added on our side
- The issue is reproducible only on Android with button-based navigation
Thanks for looking into this!
Description
I am facing an issue with the TextInput (composer) behavior in
react-native-gifted-chatafter upgrading to a newer version.Library Version
react-native-gifted-chat: ^3.2.3Issue
When typing and sending a message using the composer:
Observed Behavior
Expected Behavior
The keyboard should remain open after sending a message, and should only close when:
Regression
react-native-gifted-chatAndroid Navigation-Specific Behavior
When the keyboard is opened by tapping on the TextInput:
This extra spacing causes a noticeable layout gap and affects the overall chat UI alignment
Additional Notes
Thanks for looking into this!