react-native: InputAccessoryView doesn't update its height when multiline TextInput grows in height

I’m using an InputAccessoryView to create a sticky TextInput. When using a growing multiline TextInput, the TextInput’s height increases and grown down behind the keyboard.

Environment

Environment: OS: macOS High Sierra 10.13.4 Node: 9.11.1 Yarn: 1.5.1 npm: 5.6.0 Watchman: 4.9.0 Xcode: Xcode 9.3 Build version 9E145 Android Studio: 3.0 AI-171.4443003

Packages: (wanted => installed) react: 16.3.1 => 16.3.1 react-native: 0.55.2 => 0.55.2

Steps to Reproduce

Add multiline to a TextInput wrapped inside an InputAccessoryView.

Expected Behavior

InputAccessoryView’s bottom edge is always sticky to the keyboard top and does not grow behind the keyboard.

Actual Behavior

multiline

About this issue

  • Original URL
  • State: open
  • Created 6 years ago
  • Reactions: 19
  • Comments: 23 (1 by maintainers)

Most upvoted comments

This is listed as a known issue in the official docs (https://reactnative.dev/docs/inputaccessoryview). How can it possibly be stale?

I’ll double @gastonmorixe’s bounty.

I am willing to pay $100 for this issue to be solved within June. If someone does, submit PR and ping me.

Same for android support.

Thank you

It really is not a solution, it’s a temporary adaptation I could use for this project until I had the solution.

I don’t seem to have the ability to edit labels anymore, but this issue is not stale.