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 EE68E17A96 for ; Sat, 25 Jul 2015 15:07:04 +0000 (UTC) Received: (qmail 94190 invoked by uid 500); 25 Jul 2015 15:07:04 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 94162 invoked by uid 500); 25 Jul 2015 15:07:04 -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 94140 invoked by uid 99); 25 Jul 2015 15:07:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Jul 2015 15:07:04 +0000 Date: Sat, 25 Jul 2015 15:07:04 +0000 (UTC) From: "jcesarmobile (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-9214) [StatusBar][iOS] Landscape webview height is calculated wrong MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-9214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14641656#comment-14641656 ] jcesarmobile commented on CB-9214: ---------------------------------- Can you share a sample project to reproduce the issue? > [StatusBar][iOS] Landscape webview height is calculated wrong > ------------------------------------------------------------- > > Key: CB-9214 > URL: https://issues.apache.org/jira/browse/CB-9214 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Statusbar > Affects Versions: 5.0.0 > Environment: cordova-lib@5.1.1 > cordova-ios@3.8.0 > apache-plugin-statusbar@1.0.0 > iOS@8.3 > Reporter: Mark van Beek > > Using an iPad (screen size: 1024x768 in landscape) I noticed that the button bar I put at the bottom of the screen was not there. Looking for the cause (since it works in the browser), I started looking at the height reported by the html tag (css: width: 100%; height: 100%). Here it showed that the size was 1024x1772, meaning the size of the viewport was actually 1024x1772 (instead of 1024x768). After a lot of trail and error, googling and such, I came across an old issue (https://issues.apache.org/jira/browse/CB-7549) which gave me the idea to change the FullScreen & StatusBarOverlaysWebView from false to true and finally the issue disappeared. > Since 1772 == 768 + 1024 - 20, it seems like the computation for the remaining height for the webview when the statusbar is not overlayed goes wrong (at least in landscape mode)... -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org For additional commands, e-mail: issues-help@cordova.apache.org