Skip to content

KeyboardAvoidingView doesn't work properly with TextInput with multiline enabled #27788

@milgron

Description

@milgron

When you have a KeyboardAvoidingView with a TextInput with multiline=true, the "translating" effect just doesn't work (at least in ios)

React Native version:
0.59.8 (Expo sdk 34.0.1)

Steps To Reproduce

  1. Add a KeyboardAvoidingView, and as a child component, a TextInput with multiline={true}

Describe what you expected to happen:
I expected that this just works well

KeyboardAvoidingView attributes:

  • style={{flex:1}}
  • behavior={Platform.OS === "ios" ? "padding" : null}
  • enabled
  • keyboardVerticalOffset={45}

<TextInput multiline={true} />

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions