react-native-gifted-form
react-native-gifted-form copied to clipboard
In long forms keyboard is dismissed when focus on bottom fields
This should probably has to do with the scroll keyboardDismissMode="on-drag" in the ScrollView and the scroll to input behavior.
To reproduce this, try adding a couple of items to the example form (making sure you have some inputs below the viewport), scroll the form and click in one of those inputs. Thus, the keyboard will appear and then disappear right away.
I had this problem and I solved it with the GiftedForm inside an ScrollView like this:
<ScrollView
automaticallyAdjustContentInsets={false}
keyboardShouldPersistTaps={'always'}
style={{flex:1}}>