Open vinay-sayone opened 3 years ago
Same issue for me. any solution yet?
For those facing the same issue, I've fixed it by setting the style of the ImageBackground
to be:
{
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 Change android:windowSoftInputMode="adjustResize" To android:windowSoftInputMode="adjustPan"
In android/app/src/main/AndroidManifest.xml, in activity tag Change android:windowSoftInputMode="adjustResize" To android:windowSoftInputMode="adjustPan"
This actually works, thanks
In android/app/src/main/AndroidManifest.xml, in activity tag Change android:windowSoftInputMode="adjustResize" To android:windowSoftInputMode="adjustPan"
Sadly doesn't help for me either
Edit: This did the trick for me:
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