You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Darryl Pogue (JIRA)" <ji...@apache.org> on 2018/06/17 01:00:00 UTC

[jira] [Commented] (CB-13987) WKWebView doesn't layout properly at launch on iPhone X

    [ https://issues.apache.org/jira/browse/CB-13987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16514947#comment-16514947 ] 

Darryl Pogue commented on CB-13987:
-----------------------------------

Turning off content insets is definitely the wrong solution. It removes the ability for app developers to control the safe area behaviour with {{viewport-fit}} meta directive. (n)

 

> WKWebView doesn't layout properly at launch on iPhone X
> -------------------------------------------------------
>
>                 Key: CB-13987
>                 URL: https://issues.apache.org/jira/browse/CB-13987
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-ios
>    Affects Versions: cordova-ios@4.5.4
>         Environment: Mac
> Cordova 8.0.0
> codova-plugin-wkwebview-engine 1.1.4
>            Reporter: Kamal Kalra
>            Assignee: Suraj Pindoria
>            Priority: Major
>         Attachments: TestApp2.zip
>
>
> WKWebView doesn't seem to layout properly at launch.  There is a black bar at the bottom of the view.  If I rotate the app to landscape mode, the view automatically resizes correctly and occupies the entire screen.  Then when I rotate back to portrait mode, it works correctly and occupies the entire screen as expected.  But at launch this is not happening.  It should occupy the entire screen at that point without having to rotate back and forth.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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