Skip to content

KeyboardAvoidingView does not work on multiline TextInputs on iOS #1475

@andrea-martinez-dev

Description

@andrea-martinez-dev

Describe the bug
The KeyboardAvoidingView component does not work on multiline TextInputs on iOS.
It does work on Android.

Code snippet
See repro

Repo for reproducing
Here a repro on snack.
On snack the bug is reproducible too if you launch it in iOS emulator.
https://snack.expo.dev/@andreamartinez/multiline-textinput-ios-bug

To Reproduce
Steps to reproduce the behavior:

  1. Create an app and wrap the content in KeyboardAvoidingView
  2. Create a multiline TextInput in a ScrollView, with some generous paddingTop to ensure the keyboard would cover it
  3. Launch in iOS device
  4. Tap on the multiline TextInput
  5. See error

Expected behavior
The KeyboardAvoindingView should work with multiline TextInputs like other inputs (or like Android, where the bug is absent.)

Videos
on iOS the bug is present:

ios.mov

on Android the behavior is correct:

android.mp4

Smartphone (please complete the following information):

  • Desktop OS: MacOS 26.5
  • Device: iPhone 13 mini (physical), iPhone 16 Pro (virtual on snack)
  • OS: iOS 26.5
  • RN version: 0.85.3
  • RN architecture: new
  • JS engine: Hermes
  • Library version: 1.2.8

Metadata

Metadata

Assignees

Labels

KeyboardAvoidingView 🧪Anything related to KeyboardAvoidingView componentKeyboardAwareScrollView 📜Anything related to KeyboardAwareScrollView componentquestionYou wanted to clarify something about the usage of the library or have a question about something

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions