Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

navigation statusbar height #53

Open
ccorcos opened this issue Jul 12, 2017 · 1 comment
Open

navigation statusbar height #53

ccorcos opened this issue Jul 12, 2017 · 1 comment

Comments

@ccorcos
Copy link
Contributor

ccorcos commented Jul 12, 2017

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
Copy link
Contributor Author

ccorcos commented Jul 12, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant