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

Rotating before closing results in incorrect web view size

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.2.1
    • None
    • cordova-ios
    • Cordova iOS 4.0.1 and 4.1.0, InAppBrowser 1.2.1

    Description

      1. Create a project with the ios platform and the inappbrowser plugin.
      2. Open it in Xcode.
      3. Check all the boxes in General > Device Orientation.
      4. Launch on an iPad Air simulator with iOS 9.x. Other models will work. Seems to only affect iOS 9.x and 7.x, not 8.x.
      5. Make sure the simulated device is in portrait.
      6. Use Safari's inspector to open an InAppBrowser window, e.g. window.open("https://www.apple.com", "_blank")
      7. While the InAppBrowser is open, rotate the simulator to landscape.
      8. Close the InAppBrowser.
      9. The main web view has an incorrect size (see screen shot).

      Attachments

        1. screen.png
          82 kB
          Jacob Weber

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jweber Jacob Weber
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: