Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-11191

Statusbar plugin causing issues with webview size

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.0
    • None
    • 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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              jcesarmobile jcesarmobile
              dave.philipson@outlook.com Dave Philipson
              Votes:
              3 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: