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 2017/11/27 18:51: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=16267228#comment-16267228 ] 

Jacob Weber edited comment on CB-13583 at 11/27/17 6:50 PM:
------------------------------------------------------------

No bar -- isn't the gray bar just something to make the status bar's background translucent? So if there's no status bar on the iPhone X, I wouldn't expect to see the gray bar. I suppose it could cover the time/battery areas, but I'm not sure that would look good.

(I guess if toolbarposition=top puts the toolbar on top, it might make sense to make the whole top area look consistent with the toolbar, so maybe in that case you'd want a gray bar that matches the toolbar's color.)


was (Author: jweber):
No bar -- isn't the gray bar just something to make the status bar's background translucent? So if there's no status bar on the iPhone X, I wouldn't expect to see the gray bar. I suppose it could cover the time/battery areas, but I'm not sure that would look good.

> 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