How to avoid keyboard pushing layout up on Android react-native

The problem here is that you have in your AndroidManifest.xml:

windowSoftInputMode="adjustResize";

Change it to:

windowSoftInputMode="adjustPan"

Note: after this change you’ll need run ./gradlew clean in android folder and react-native run-android in your project directory

Leave a Comment