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

Status Bar Plugin pushes web view too far down when a personal hotspot connection is active while using overlaysWebView(false)

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.0
    • Fix Version/s: None
    • Labels:
      None

      Description

      When a personal hotspot connection is active or a call is in progress, the statusbar occupies two rows.

      If StatusBar.overlaysWebView(false) is used, it causes the webview to be pushed further down than it should: Exactly 3 rows instead of 2.

      Steps to reproduce the problem:

      1. Enable Personal Hotspot or make sure a call is in progress
      2. Open/resume Cordova application that uses StatusBar.overlaysWebView(false);

      Screenshot depicting the problem: https://www.dropbox.com/s/u47sucujs19g2py/Screenshot%202013.11.19%2010.44.00.png
      Screenshot of application when no call/connection is in progress:
      https://www.dropbox.com/s/n2eiyem7a7wfk7j/Screenshot%202013.11.19%2010.44.45.png

      The red line at the top in the above pictures is made using the following (to annotate that it really is the web view that is being pushed down):

      body {
          border-top: 2px solid red;
      }
      

      Example project: https://www.dropbox.com/s/0yzarp1sioamgud/BugStatusBarPushDown.zip

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jcesarmobile jcesarmobile
                Reporter:
                sw Sepp Wijnands
              • Votes:
                2 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: