cordova-plugin-keyboard
cordova-plugin-keyboard copied to clipboard
navigation statusbar height
When you open google maps and start navigating, it actually shrinks the appview when you come back so that the statusbar offset is the same as it was before when the statusbar was smaller. However, when I open up the keyboard, this plugin doesnt account for the large statusbar offset so it gets all messed up...
https://github.com/cjpearson/cordova-plugin-keyboard/blob/master/src/ios/CDVKeyboard.m#L187
For now I just have to set StatusBarOverlaysWebView to false.
To reproduce:
- set StatusBarOverlaysWebView to true
- open up the app
- open google maps and start navigating
- open the app again (there's an offset due to the larger statusbar)
- focus on an input
The height of the webview will change and will lose the offset from the larger statusbar