Closed kirkas closed 10 years ago
I'm having the exact same issue with the plugin. viewport is reporting 656 tall.
Is there a fix or viable workaround for this?
Changing the viewport meta to:
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height" />
work for me
I can confirm that using "height=device-height" does solve the issue, but only AFTER Cordova is ready. And there's still the bug that if you start the App in Landscape mode - then half the screen is white (at least while using PGB 3.3): https://github.com/phonegap-build/StatusBarPlugin/issues/4
Hope that will be solved soon.
Try the latest version (1.1.0) of this plugin -- it should fix this issue.
Awesome!!! I can confirm it's working perfectly now :)
Many thanks!
Cool thanks. Closing.
Ehh... Sorry about that.. but I noticed something new which might be related: If you show the status-bar and the hide it - the screen size increases in around 20 pixels in width and height. If you show and hide it again - it will increase in another 20 pixels.
Shall I open a separate issue for this one?
Ugh yes please open a new one.
Viewport is wrong on iphone 4 inche since i've added this plugin. As you can see the window height return 656px instead to the correct 568px.