cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-13712) cordova-plugin-statusbar resets overlaysWebView on rotation
Date Thu, 28 Dec 2017 00:19:00 GMT

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

ASF subversion and git services commented on CB-13712:
------------------------------------------------------

Commit 8da38f5075ac165ea80fee39dc14f807a343c590 in cordova-plugin-statusbar's branch refs/heads/2.4.x
from [~jcesarmobile]
[ https://gitbox.apache.org/repos/asf?p=cordova-plugin-statusbar.git;h=8da38f5 ]

CB-13712 (iOS): fix overlaysWebView reset on rotation (#92)



> cordova-plugin-statusbar resets overlaysWebView on rotation
> -----------------------------------------------------------
>
>                 Key: CB-13712
>                 URL: https://issues.apache.org/jira/browse/CB-13712
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-plugin-statusbar
>    Affects Versions: 2.4.0
>         Environment: cordova 6.4.0
>            Reporter: Matthias Schmitt
>            Assignee: jcesarmobile
>            Priority: Minor
>
> I have set StatusBarOverlaysWebView to false in config.xml:
>   <preference name="StatusBarOverlaysWebView" value="false" />
> This is working fine. When I rotate the iPhone X to landscape and back again, the StatusBar
overlays the WebView again. As a workaround I can fix this via:
>   $(window).on( "orientationchange", function() {
>     StatusBar.overlaysWebView(true);
>     StatusBar.overlaysWebView(false);
> });
> I guess this could better be fixed in the code of the plugin. 
> Additional I need to set overlaysWebView to true before setting it to false again. Otherwise
the workaround will not work.
> Thank you.



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


Mime
View raw message