Problem with keyboard-avoiding component on Android

Currently our app (Expo SDK 29, version 29.0.1) uses a text input that uses a bottom style to avoid the keyboard, like this:

  <Footer
    style={[
      { bottom: btnLocation },
      DeviceUtils.isIphoneX() && { paddingBottom: 30 },
      styles.footer,
    ]}
  />

On most Android devices, this works fine, as it does on all devices while testing. However, in the published app on devices with soft navigation bars that haven’t been locked into place (like Samsung S8 or S9’s), the keyboard covers the input by the height of the navigation bar, like so:


We’ve tried setting the "resizeMode" to "contain" in our app.json (as recommended by this React Native bug thread), but it didn’t solve the issue. Do you have any methods to solve this?

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.