This error is observed on Samsung note 10, Not on all devices, But mostly on Samsung The keyboard covers up half of the Textinput, I've tried a couple fixes, But none is working.
<KeyboardAvoidingView
style={{ flex: 1 }}
behavior="padding"
>
<GiftedChat
// style={{ flex: 1 }}
messages={this.state.messages}
onSend={this.onSend.bind(this)}
renderBubble={this.renderBubble}
isAnimated
renderMessageImage={(props) => (
<this.renderMessageImage props={props} _this={this} />
)}
user={{
_id: this.state.uid,
}}
/>
</View>
</KeyboardAvoidingView >
);
I also used
{ Platform.OS === 'android' ? <KeyboardSpacer /> : null }
But it didn't work either