Skip to content

once keyboard closes, adds a crazy padding to the bottom tabs for no reason #1130

@pierroo

Description

@pierroo

Describe the bug
I use expo router, with some bottom tabs.
I have wrapping my entire app as usual.
When I focus an input and for the first time the keyboard opens, once it closes it will adds an extra bottom padding under my bottom tabs that won't go away whatever I do, unless I restart the app.
If I add keyboardVerticalOffset={<big_number>} then only it won't add the padding when keyboard closes; but then obviously it messes up the layout when keyboard open with some content not having the padding above keyboard as I wish.

I have used this keyboard with many other apps without facing the issue; but they are on older version of keyboard controller (and/or not using expo/using older react native version, so hard to tell)

Smartphone (please complete the following information):

  • Device: Android
  • OS: [e.g. iOS 10.0]
  • RN version: 0.81.4
  • RN architecture: new
  • JS engine: [e.g. JSC, Hermes, v8]
  • Library version:1.18.5

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions