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
bug: modal is not consistently shifted upwards when keyboard is shown on ipad #29156
Comments
@jeroenkroese hello, thanks for reporting this issue. Are you using an alternate browser engine on your iPad? If so, can you share those details about your environment? The keyboard relocation behavior in Ionic Framework is very specific to webkit behavior. I'm not currently able to reproduce with iPad Pro on iOS 17 (using Safari). |
Hi @sean-perkins thanks for replying. The iPad shown in the video is an iPad Air 4th generation on iOS 17.3.1. I was using the Chrome browser, however I see the same behaviour using Safari. I've since updated the iPad to 17.4 but the issue persists. I have tried to reproduce using a device simulator on MacOS. I was not able to reproduce on an iPad Pro in the simulator, but the issue manifests when selecting an iPad Air 4th generation as device type, on iOS 17.4 and in landscape mode. Hopefully this helps you reproduce the issue on your own device. Let me know if you need anything else. |
Prerequisites
Ionic Framework Version
v7.x
Current Behavior
On large touch device (ipad), modal is not consistently shifted upwards when keyboard is shown after clicking an input. See video
RPReplay_Final1710343317.MP4
Expected Behavior
The content is consistenly shifted upward to make sure that the focussed input is in view.
Steps to Reproduce
Code Reproduction URL
https://github.com/jeroenkroese/ModalKeyboardBug
Ionic Info
[WARN] Error loading @capacitor/ios package.json: Error: Cannot find module '@capacitor/ios/package.json'
[WARN] Error loading @capacitor/android package.json: Error: Cannot find module '@capacitor/android/package.json'
Ionic:
Ionic CLI : 7.2.0 (/Users/jeroenkroese/.nvm/versions/node/v18.19.0/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 7.8.0
@angular-devkit/build-angular : 17.2.3
@angular-devkit/schematics : 17.2.3
@angular/cli : 17.2.3
@ionic/angular-toolkit : 9.0.0
Capacitor:
Capacitor CLI : 5.7.2
@capacitor/android : not installed
@capacitor/core : 5.7.2
@capacitor/ios : not installed
Utility:
cordova-res : not installed globally
native-run : 2.0.1
System:
NodeJS : v18.19.0 (/Users/jeroenkroese/.nvm/versions/node/v18.19.0/bin/node)
npm : 10.2.3
OS : macOS Unknown
Additional Information
No response
The text was updated successfully, but these errors were encountered: