gabriel2mm opened a new issue, #1923:
URL: https://github.com/apache/cordova-android/issues/1923

   # Bug Report
   
   ## Problem
   When an input field receives focus on a scrollable screen, the Android soft 
keyboard opens and pushes the entire WebView upward. This leaves an empty, 
unrendered space at the bottom of the Activity and completely locks the page 
scroll.
   
   ### What is expected to happen?
   * The WebView should smoothly resize or adjust its viewport when the soft 
keyboard appears, keeping the bottom content accessible.
   * The native web scrolling should remain fully active while the keyboard is 
visible so users can see other elements or input fields.
   * Elements that rely on viewport heights or scroll listeners should render 
and position themselves correctly.
   
   ### What does actually happen?
   * The native Activity shifts the WebView up, creating a blank space at the 
bottom equal to the keyboard's height. 
   * As shown in the attached screenshot **(the green line represents the end 
of the document `<body>`)**, the webview rendering area finishes prematurely.
   * The document completely loses scrollability while the keyboard remains 
open, breaking UI layouts that depend on scrolling adjustments.
   
   <img width="413" height="770" alt="Image" 
src="https://github.com/user-attachments/assets/8ef4e4b0-b3e7-4c52-ac98-0b2484c6a204";
 />
   
   <img width="1476" height="829" alt="Image" 
src="https://github.com/user-attachments/assets/af7bf287-1624-4112-807c-b34042b25e1f";
 />
   
   
https://github.com/user-attachments/assets/5b277982-85f3-4776-8f76-ed50d6c7f267
   
   
   ### Environment, Platform, Device
   
   ### Android versions
   physical device: 
    - Android 16
    - Android 11
    - Android 10
   
   emulator: 
    - Android 8
   
   
   ### Version information
   Cordova - 12.0.1 and 13.0.0 (the same problem in both versions)
   Cordova-Android 15.0.0 (the problem occurs only in v15.00)
   ionic-cli 6.12.3
   ionic 4.6.2
   
   ### Plugins in use
   "cordova-clipboard": "1.3.0",
   "cordova-open-native-settings": "1.5.2",
   "cordova-plugin-add-swift-support": "2.0.2",
   "cordova-plugin-advanced-http": "3.2.2",
   "cordova-plugin-app-version": "0.1.9",
   "cordova-plugin-datepicker": "0.9.3",
   "cordova-plugin-device": "2.0.3",
   "cordova-plugin-file": "8.0.1",
   "cordova-plugin-fingerprint-aio": "6.0.1",
   "cordova-plugin-firebase-analytics": "8.0.0",
   "cordova-plugin-idfa": "3.0.0",
   "cordova-plugin-inappbrowser": "6.0.0",
   "cordova-plugin-ionic-webview": "5.0.1",
   "cordova-plugin-network-information": "2.0.2",
   "cordova-plugin-networkinterface": "2.0.0",
   "cordova-plugin-screen-orientation": "3.0.4",
   "cordova-plugin-secure-storage-echo": "5.0.1",
   "cordova-plugin-x-socialsharing": "6.0.4",
   "cordova-support-android-plugin": "2.0.4",
   "cordova-support-google-services": "1.4.1",
   
   
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [x] I searched for existing GitHub issues
   - [x] I updated all Cordova tooling to most recent version
   - [x] I included all the necessary information above
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to