Keyboard pushes Modal View up only on android

Please provide the following:

  1. SDK Version: 39.0.3
  2. Platforms(Android/iOS/web/all): Android, iOS works fine

Even in the welcome screen lets say in a login page that has a few views around, it will push everything up when you focus an input.

I was able to fix it in few screens by doing a bunch of hacks but none works 100%, for some layouts I needed to use the KeyboardAwareScrollView package wrapping everything but the Modal component, for others I had to use a scroll view with a touchableopacity inside (or it wouldnt scroll at all).

I think this is related to SDK 38 and higher as it did not happen before SDK 38.

Hey @morenomdz,

This is most likely an issue that pertains to React Native rather than Expo itself. I would recommend trying to reproduce it in a vanilla RN project that uses the corresponding versions to SDK38 or 39. If it does occur, the best course of action would be to create an issue on the react native repo and provide a reproducible example.


1 Like

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