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/12/27 22:02:00 UTC

[jira] [Updated] (CB-13715) Status bar disappears, and inconsistent window.innerHeight on iPhone X

     [ https://issues.apache.org/jira/browse/CB-13715?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacob Weber updated CB-13715:
-----------------------------
    Description: 
Run "cordova prepare" on the attached sample project, open it in Xcode, run it in the iPhone X iOS 11.2 simulator, and attach a Safari debugger.

While in portrait mode, the status bar is visible. Type "window.innerHeight" into the Safari console. It will report 768.

Rotate to landscape, repeat the console command, and it will report 375.

Now rotate back to portrait. The status bar is gone. Repeat the command again, and it will report 812.

Why is the status bar disappearing?

We're still struggling to get our app working on the iPhone X....hope Cordova can iron out all the iPhone X bugs soon! 🙏

  was:
Run "cordova prepare" on the attached sample project, open it in Xcode, run it in the iPhone X iOS 11.2 simulator, and attach a Safari debugger.

While in portrait mode, type "window.innerHeight" into the console. It will report 768.

Rotate to landscape, repeat the console command, and it will report 375.

Now rotate back to portrait. The status bar is gone. Repeat the command again, and it will report 812.

Why is the status bar disappearing?

We're still struggling to get our app working on the iPhone X....hope Cordova can iron out all the iPhone X bugs soon! 🙏


> Status bar disappears, and inconsistent window.innerHeight on iPhone X
> ----------------------------------------------------------------------
>
>                 Key: CB-13715
>                 URL: https://issues.apache.org/jira/browse/CB-13715
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-ios, cordova-plugin-statusbar
>    Affects Versions: cordova-ios 4.5.0
>         Environment: Mac OS 10.13.2, Xcode 9.2.0, cordova-cli 8.0.0, cordova-ios 4.5.4, cordova-plugin-statusbar 2.4.0
>            Reporter: Jacob Weber
>            Assignee: Suraj Pindoria
>         Attachments: CordovaTest.zip
>
>
> Run "cordova prepare" on the attached sample project, open it in Xcode, run it in the iPhone X iOS 11.2 simulator, and attach a Safari debugger.
> While in portrait mode, the status bar is visible. Type "window.innerHeight" into the Safari console. It will report 768.
> Rotate to landscape, repeat the console command, and it will report 375.
> Now rotate back to portrait. The status bar is gone. Repeat the command again, and it will report 812.
> Why is the status bar disappearing?
> We're still struggling to get our app working on the iPhone X....hope Cordova can iron out all the iPhone X bugs soon! 🙏



--
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