cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Austin Fisher (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-11191) Statusbar plugin causing issues with webview size
Date Mon, 08 Aug 2016 14:45:20 GMT

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

Austin Fisher commented on CB-11191:
------------------------------------

I've noticed that showing or hiding the statusbar via the show or hide functions fixes this
issue and the view takes the full device width. After looking into the ios plugin code I think
that the resizeWebView function in CDVStatusBar.m is what fixes the view width. I don't know
much about cordova plugins or iOS code though and I'm not sure how to fix the plugin with
this knowledge.

> Statusbar plugin causing issues with webview size
> -------------------------------------------------
>
>                 Key: CB-11191
>                 URL: https://issues.apache.org/jira/browse/CB-11191
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Statusbar
>    Affects Versions: 2.1.0
>         Environment: Cordova CLI Version: 6.1.1
> Cordova iOS Engine: 4.1.1
> Build environment: OSX El Capitan & XCode 7.3
> Device experiencing problem: iPod Touch running iOS 9.3.1
>            Reporter: Dave Philipson
>            Assignee: Sergey Shakhnazarov
>              Labels: ios, triaged
>
> It appears the statusbar plugin is causing issues with the iOS webview on small form
factor devices (iPhone & iPod) when switching orientation whilst the camera is open (camera
opened using cordova camera plugin)
> Steps to reproduce:
> Start the application and begin using it in landscape
> Open the camera using the cordova camera plugin
> Whilst the camera is open, rotate into portrait
> Close the camera
> Webview is now squashed down the left of the screen (only fills about 1/4 of the screens
overall width)
> Can recover by changing orientation again.
> Sample test app on Github:
> https://github.com/ISeeBinary/statusbar_plugin_testapp
> (tapping on the red square at the top of the test app page should launch the camera)
> Removing the statusbar plugin rectifies the issue.



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


Mime
View raw message