I have also used KeyboardAvoidingView, this aligns the keyboard properly if its only single line but not with multiline.
<KeyboardAvoidingView behavior="position">
<TextInput
placeholder='input 1'
placeholderTextColor='gray'
multiline={true}
onContentSizeChange={(e) => console.log(e.nativeEvent.contentSize)}
value='text 1'
/>
<TextInput
placeholder='input 2'
placeholderTextColor='gray'
multiline={true}
onContentSizeChange={(e) => console.log(e.nativeEvent.contentSize)}
value='text 2'
/>
</KeyboardAvoidingView>
Is there any way to align the keyboard properly with multiline textInputs in react native?