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

Background appears when tapping text field in in-app browser

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • cordova-ios 4.5.0
    • None
    • None
    • Mac OS 10.13.3, cordova-cli 8.0.0, node 8.9.4

    Description

      The first time you tap a text field in an in-app browser, the background of the app (behind the browser) briefly appears.

      To reproduce:

      cordova create CordovaTest com.sample.cordovatest CordovaTest
      cd CordovaTest
      cordova platform add ios@4.5.4
      cordova plugin add cordova-plugin-inappbrowser

      Create an HTML page to load in the in-app browser, with a text field, and store it as www/sample.html.

      Now launch this on an iPhone simulator (I tried iPhone 6 and X) running iOS 11.2, attach a Safari debugger, and open the page in an in-app browser, e.g. window.open("sample.html", "_blank");

      (In the attached app, you can just tap the Cordova icon to open it.)

      Then tap the text field. You'll see an error in the Xcode logs (attachment).

      In addition, the background of the app (including the Cordova icon) will briefly flash.

      Attachments

        1. CordovaTest.zip
          35 kB
          Jacob Weber
        2. error.txt
          15 kB
          Jacob Weber

        Issue Links

          Activity

            People

              surajpindoria Suraj Pindoria
              jweber Jacob Weber
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: