From issues-return-93523-apmail-cordova-issues-archive=cordova.apache.org@cordova.apache.org Tue Mar 20 15:38:03 2018 Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C167418C5B for ; Tue, 20 Mar 2018 15:38:03 +0000 (UTC) Received: (qmail 19474 invoked by uid 500); 20 Mar 2018 15:38:03 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 19451 invoked by uid 500); 20 Mar 2018 15:38:03 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 19436 invoked by uid 99); 20 Mar 2018 15:38:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Mar 2018 15:38:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id EE107180518 for ; Tue, 20 Mar 2018 15:38:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.511 X-Spam-Level: X-Spam-Status: No, score=-109.511 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 4j5gCxqwySh3 for ; Tue, 20 Mar 2018 15:38:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id DB9AA5FAC9 for ; Tue, 20 Mar 2018 15:38:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 1BEBDE0D75 for ; Tue, 20 Mar 2018 15:38:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 7D046214C5 for ; Tue, 20 Mar 2018 15:38:00 +0000 (UTC) Date: Tue, 20 Mar 2018 15:38:00 +0000 (UTC) From: "Kamal Kalra (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (CB-13987) WKWebView doesn't layout properly at launch on iPhone X MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-13987?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D164065= 11#comment-16406511 ]=20 Kamal Kalra edited comment on CB-13987 at 3/20/18 3:37 PM: ----------------------------------------------------------- I've added a sample project that reproduces this problem.=C2=A0 I'm running= on a Mac with XCode 9.2.=C2=A0 I've tested on the simulator as well as the= physical device and the results are the same.=C2=A0 Also, upon further tes= ting, it seems the problem is not just limited to the iPhoneX but on other = iPhone devices as well.=C2=A0 Also, the height of the empty space at the bo= ttom seems to correspond to the height of the status bar. was (Author: kamalkalra): I've added a sample project that reproduces this problem.=C2=A0 I'm running= on a Mac with XCode 9.2.=C2=A0 I've tested on the simulator as well as the= physical device and the results are the same. > 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.=C2=A0 There is a bla= ck bar at the bottom of the view.=C2=A0 If I rotate the app to landscape mo= de, the view automatically resizes correctly and occupies the entire screen= .=C2=A0 Then when I rotate back to portrait mode, it works correctly and oc= cupies the entire screen as expected.=C2=A0 But at launch this is not happe= ning.=C2=A0 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