-
Notifications
You must be signed in to change notification settings - Fork 649
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Background image gets shifted upwards when keyboard height overlaps the content #475
Comments
Same issue for me. any solution yet? |
For those facing the same issue, I've fixed it by setting the style of the {
position: 'absolute',
top: 0,
right: 0,
bottom: 0,
left: 0
} |
thanks a lot, that worked!! |
In android/app/src/main/AndroidManifest.xml, in activity tag |
This actually works, thanks |
Sadly doesn't help for me either Edit: const d = Dimensions.get('window');
<ImageBackground style={{
position: 'absolute',
flex: 1,
backgroundColor: 'rgba(0,0,0,0.45)',
width: d.width,
height: d.height
}}
...
>
...
</ImageBackground > |
The background image I've set is shifting upwards if the content overlaps the keyboard. This happens only in android devices. I've set the windowSoftInputMode="adjustPan" in manifest file
screen.js
styles.js
The text was updated successfully, but these errors were encountered: