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

[jira] [Comment Edited] (CB-13583) Gray bar in status area when using inappbrowser

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

Jacob Weber edited comment on CB-13583 at 1/8/18 8:49 PM:
----------------------------------------------------------

[~jcesarmobile] It looks like your branch removes it completely (correct me if I'm reading it wrong). That's okay, but then it's removed for other devices besides the iPhone X, which I agree might not be desirable. My issue was just with the iPhone X, and the fact that it looks bad there. That could be fixed by removing it entirely on that device, or changing it so it's only visible in portrait mode, and covers the whole time/battery areas.


was (Author: jweber):
[~jcesarmobile] It looks like your branch removes it completely. That's okay, but then it's removed for other devices besides the iPhone X, which I agree might not be desirable. My issue was just with the iPhone X, and the fact that it looks bad there. That could be fixed by removing it entirely on that device, or changing it so it's only visible in portrait mode, and covers the whole time/battery areas.

> Gray bar in status area when using inappbrowser
> -----------------------------------------------
>
>                 Key: CB-13583
>                 URL: https://issues.apache.org/jira/browse/CB-13583
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-plugin-inappbrowser
>         Environment: Mac OS 10.13.1, Xcode 9.1
>            Reporter: Jacob Weber
>         Attachments: config.xml, landscape-to-portrait-to-landscape.png, portrait-to-landscape.png, portrait.png
>
>
> Use the attached config.xml in a new Cordova project. Add viewport-fit=cover to index.html, and add Default@2x~universal~anyany.png file for the splash image.
> Open the project in an iPhone X simulator, running iOS 11.1.
> In portrait mode, call window.open('https://www.google.com', '_blank'). You'll see a gray area where the status bar would be on older devices (see portrait.png). Rotate to landscape, and it's still there (see portrait-to-landscape.png).
> Close the browser. Now in landscape, run the window.open command again. Rotate to portrait, then back to landscape. Now you'll see a gray area, but it only covers half of the screen (see landscape-to-portrait-to-landscape.png).
> (Note that I used the "master" version of cordova-ios and some plugins, since it seems like there are some unreleased fixes for the iPhone X, like CB-13505).



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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