Selaa lähdekoodia

fix(capacitor): incorrect scrollable content container with soft keyboard

charlie 5 kuukautta sitten
vanhempi
sitoutus
3be399a556
1 muutettua tiedostoa jossa 8 lisäystä ja 0 poistoa
  1. 8 0
      src/main/capacitor/components/app.css

+ 8 - 0
src/main/capacitor/components/app.css

@@ -25,6 +25,14 @@ html.plt-capacitor.plt-android {
   }
 }
 
+html.has-mobile-keyboard {
+  .ion-page:not(.ion-page-hidden) {
+    & > ion-content::part(scroll) {
+      padding-bottom: 512px !important;
+    }
+  }
+}
+
 .page {
   @apply px-3;
 }