I'm using the KeyboardAvoidingView to wrap a Flatlist that renders input, whenever I press on an input that is positioned when the keyboard is going to be on android, the keyboard hides immediately and also if I click one that is render above where the keyboard is going to be and scroll down, work perfect on ios.
Tried most of the things posted here, don't have any more clue.
<KeyboardAvoidingView
behavior={Platform.OS === 'ios' ? 'padding' : 'height'}
keyboardVerticalOffset={Platform.OS === 'ios' ? 90 : 100}
style={{
flex: 1,
}}>
{children}
</KeyboardAvoidingView>
Would appreciate any help