react-native-spotlight-input icon indicating copy to clipboard operation
react-native-spotlight-input copied to clipboard

hardware keyboard seems to produce "keyboardWillHide" event inconsistently

Open shrugs opened this issue 7 years ago • 0 comments

mov

All of these text inputs are

      <TextInput
        onChange={handleNameChange}
        returnKeyType='done'
        placeholder='First Last'
        value={dot.name}
        header={renderHeaderForField('My name is')}
        underlineColorAndroid='transparent'
        autoCorrect={true}
      />

the first one works as expected in the simulator, but the second set (which are displayed in a react-navigation modal, if relevant) have odd behavior when the hardware keyboard is connected; looks like the keyboardWillHide event is immediately. Disconnecting the hardware keyboard fixes the behavior, as well as collapseOnKeyboardHide={false}.

So this isn't really a big deal at the moment, but might be an issue if someone has a bluetooth keyboard attached? I don't have time to produce a standalone reproduction at the moment, but will keep playing with it on my end.

shrugs avatar Oct 08 '18 22:10 shrugs