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 01:24:09 UTC

[GitHub] [cordova-ios] dpogue commented on issue #933: WKWebView reports wrong size in Cordova iOS 6.1.0

dpogue commented on issue #933:
URL: https://github.com/apache/cordova-ios/issues/933#issuecomment-748397407


   > Maybe add a new to control it's behavior? Let us decide if use it or not
   
   That control already exists in the HTML meta viewport tag, as `viewport-fit=cover`.
   
   When you specify that in your page, WebKit [internally sets `UIScrollViewContentInsetAdjustmentNever`](https://github.com/WebKit/WebKit-http/blob/817c46e152af795d735678386db68805d0aa505e/Source/WebKit/UIProcess/API/ios/WKWebViewIOS.mm#L2332).
   
   <details>
   
   via https://github.com/WebKit/WebKit-http/blob/817c46e152af795d735678386db68805d0aa505e/Source/WebKit/UIProcess/API/ios/WKWebViewIOS.mm#L2336-L2349
   
   via https://github.com/WebKit/WebKit-http/blob/817c46e152af795d735678386db68805d0aa505e/Source/WebKit/UIProcess/API/ios/WKWebViewIOS.mm#L2499-L2504
   
   via https://github.com/WebKit/WebKit-http/blob/817c46e152af795d735678386db68805d0aa505e/Source/WebCore/page/ViewportConfiguration.cpp#L511
   
   </details>


----------------------------------------------------------------
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