Skip to content

hardware keyboard seems to produce "keyboardWillHide" event inconsistently #3

Description

@shrugs

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions