You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2020/12/19 12:25:04 UTC

[GitHub] [cordova-ios] lovelyelfpop edited a comment on issue #933: WKWebView reports wrong size in Cordova iOS 6.1.0

lovelyelfpop edited a comment on issue #933:
URL: https://github.com/apache/cordova-ios/issues/933#issuecomment-748467713


   We've already set viewport-fit=cover, but there is still white space at the first launch, after resume from background, the white space disappears. Or turn to landscape and back, the white space disappears, too.
   
   If use viewport-fit=cover and body {height:100%}, the height of html body still can not reach the bottom, but the background-color of body can cover the fullscreen(so it's a body backgroundColor space rather than a white space).
   
   Change height: 100% to height: 100vh fix the problem, but is has other side effects.
   
   Tha's why we need a new preference to control it, `viewport-fit=cover` is not we need.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org