You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Open the keyboard, for instance by focusing a form input. (01_iPad_no_keyboard.png)
Observe how the <main> shadow node of the <ion-content> tag gets a padding-bottom value of 290px. (02_iPad_keyboard_did_show.png)
Close the keyboard by clicking the dismiss button on the keyboard.
Observe how the <main> shadow node of the <ion-content> tag still has the padding-bottom value of 290px that was added in step 1. (03_iPad_keyboard_did_hide.png)
Do not dismiss the keyboard by tapping the body. When the body is tapped, the padding-bottom is correctly removed.
Expected Behavior
When the keyboard is dismissed using the dismiss button, the padding-bottom value is removed from the <main> shadow node of the <ion-content> tag.
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.
Bug Report
Capacitor Version
Platform(s)
iOS - iPad
Current Behavior
<main>
shadow node of the<ion-content>
tag gets a padding-bottom value of 290px. (02_iPad_keyboard_did_show.png)<main>
shadow node of the<ion-content>
tag still has the padding-bottom value of 290px that was added in step 1. (03_iPad_keyboard_did_hide.png)Do not dismiss the keyboard by tapping the body. When the body is tapped, the padding-bottom is correctly removed.
Expected Behavior
When the keyboard is dismissed using the dismiss button, the padding-bottom value is removed from the
<main>
shadow node of the<ion-content>
tag.Code Reproduction
https://github.com/Proper-Job/keyboardBugIpad
Other Technical Details
npm --version
output:6.14.4
node --version
output:v12.16.2
pod --version
output (iOS issues only):1.9.3
Additional Context
01_iPad_no_keyboard.png
02_iPad_keyboard_did_show.png
03_iPad_keyboard_did_hide.png
The text was updated successfully, but these errors were encountered: