cjpearson / cordova-plugin-keyboard

Keyboard Plugin for Cordova
177 stars 345 forks source link

navigation statusbar height #53

Open ccorcos opened 7 years ago

ccorcos commented 7 years ago

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.

ccorcos commented 7 years ago

To reproduce:

The height of the webview will change and will lose the offset from the larger statusbar