mattcwebster commented on issue #417: Keyboard Dismissal Leaves Viewport 
Shifted in iOS 12 / XCode 10
URL: https://github.com/apache/cordova-ios/issues/417#issuecomment-577889497
 
 
   Darn, after further testing the package fix noted by @dpogue worked, but 
intermittently.  
   
   What finally worked for me was to:
   
   1. make sure to have latest Ionic Web View for Cordova
   cordova plugin rm cordova-plugin-ionic-webview
   cordova plugin add cordova-plugin-ionic-webview@latest
   
   2. install cordova-plugin-ionic-keyboard
   cordova plugin add cordova-plugin-ionic-keyboard --save
   
   these two steps I already had done, but here's what fixed it, add the 
following preference to your config.xml file
   <preference name="KeyboardResize" value="false" />
   
   *note, the downfall here is that when focusing on an input, the keyboard 
will overlap the input, unless input at top of viewport - which can be done.  
However, this problem is much better than the bug I was dealing with where the 
keyboard would leave a whitespace in viewport (spanning the height of the 
keyboard) and not go away.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to