react-native-gifted-form icon indicating copy to clipboard operation
react-native-gifted-form copied to clipboard

In long forms keyboard is dismissed when focus on bottom fields

Open vcalvello opened this issue 8 years ago • 1 comments

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.

vcalvello avatar Jun 26 '17 15:06 vcalvello

I had this problem and I solved it with the GiftedForm inside an ScrollView like this:

<ScrollView
  automaticallyAdjustContentInsets={false}
  keyboardShouldPersistTaps={'always'}
  style={{flex:1}}>

vmf91 avatar Jan 11 '18 18:01 vmf91