Skip to content

InputAccessoryView doesn't update its height when multiline TextInput grows in height #18997

@davidpaulsson

Description

@davidpaulsson

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugComponent: TextInputRelated to the TextInput component.Never gets stalePrevent those issues and PRs from getting stale📮Known IssuesThis indicates an issue that refers to a bug or limitation of RN that is not currently being handled

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions