IONIC4 Background image is resized when keyboard is open
Worked with changing some attributes in my bg class:
.bg{
padding-bottom: 0 !important;
background-image: url('../../assets/lock.png') !important;
height: 100% auto !important;
background-repeat: no-repeat;
background-image: cover !important;
background-size: cover !important;
background-position: center;
position: fixed;
}
Ionic 4: Background resize opening keyboard
This will disable the scroll:
ion-content {
--overflow: hidden;
}
Android White Background when keyboard fades away
In AndroidManifest.xml file try to set windowSoftInputMode
attribute to adjustNothing:
android:windowSoftInputMode="adjustNothing"
It worked for my Ionic project, avoiding the resize of Cordova webview when soft keyboard is on.
Related Topics
How to Use Std::Stoul and Std::Stoull in Android
Finish an Activity After a Time Period
How to Display List of Resource Drawables
Change Chip Widget Style Programmatically Not Working - Android
How to Know the Calling Activity in Android
How to Set Text Color of a Textview Programmatically
Turning on Wifi Using Wifimanager Stops to Work on Android 10
Android 4.0.1 Breaks Webview HTML 5 Local Storage
Update SQL Database with Contentvalues and the Update-Method
How to Make a Dialog Slide from Bottom to Middle of Screen in Android
How to Store Hashmap So That It Can Be Retained It Value After a Device Reboot
Fragment View in Viewpager Is Not Restored When Resuming
How to Read the Sd Card Id Number
Is There a Workaround for The Android Browser Bug with CSS-Position and Clickable Areas