React-native-navigation: Background Flash during Keyboard Appearing (Android)

Created on 9 Mar 2018  路  10Comments  路  Source: wix/react-native-navigation

Hi Everyone,

When trying to slide up the keyboard, I've noticed a flash of the background off the app and just a really unelegant look. Has anyone found a solution for this? I am assuming its something in android manifest

馃彋 stale

Most helpful comment

The android:windowSoftInputMode="adjustPan" worked for me.

All 10 comments

Adding this to AndroidManifest.xml android:windowSoftInputMode="adjustPan" fixed the issue for me.

Didn't seem to work for me :/

@L-Yeiser do you have an example of this? pulling my hair out trying to figure this out

@joecaraccio sorry for the delay. It ends up that, that fix does not work on all android phones. Took a bit of QAing to get there. To get around the issue we animate a white view up as the modal slides up. It is a bit of a hack but also very robust.

Hey everyone.. I did sorta find a fix..

react-native-root-view-background set to white basically helps mask this

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If you believe the issue is still relevant, please test on the latest version and report back. Thank you for your contributions.

The issue has been closed for inactivity.

same problem here with the version of RN 0.55.2-alpha.3

same problem with version 0.61.5

The android:windowSoftInputMode="adjustPan" worked for me.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

zagoa picture zagoa  路  3Comments

yayanartha picture yayanartha  路  3Comments

henrikra picture henrikra  路  3Comments

nbolender picture nbolender  路  3Comments

yedidyak picture yedidyak  路  3Comments