cordova-plugin-keyboard icon indicating copy to clipboard operation
cordova-plugin-keyboard copied to clipboard

navigation statusbar height

Open ccorcos opened this issue 8 years ago • 1 comments

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 avatar Jul 12 '17 23:07 ccorcos

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

ccorcos avatar Jul 12 '17 23:07 ccorcos