Skip to content

When textInput enabled multiline, the field would be hidden by keyboard even it get focused #48

Description

@MarkRunWu

as title description.

related issue: react/react-native#16826

Reproduce by code example:

// FromScreen.js: append `multiline={true}` to the last one of textinput
  ...
     <FormField index={4} style={styles.input}>
            {props => (
              <View style={styles.inputContainer}>
                <TextInput
                  ref={props.focusableRef}
                  onSubmitEditing={props.onSubmitEditing}
                  blurOnSubmit={props.blurOnSubmit}
                  multiline={true} <---- this line
                  placeholder="Input 5"
                />
              </View>
            )}
       </FormField>
  ...

Result:

The last textInput is focused, but it's behind keyboard.
Simulator Screen Shot - iPhone X - 2019-04-12 at 16 20 10

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