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

wkwebview causes keyboard to cause scrolling bug

    XMLWordPrintableJSON

Details

    Description

      I saw a bug report that these things had been fixed in Telerik-Verified-Plugins/WKWebView, but it seems like the cordova one was more up to date, so I've tried cordova-plugin-wkwebview-engine along with cordova-plugin-keyboard.

      In any case, as soon as I open the keyboard, the current window scrolls out of view, and the textinput is no longer visible. As soon as I hit a key, it comes back into view. After the keyboard is closed, the bottom of the screen is now off by about 20 pixels, and never corrects itself. It's a little disconcerting, and may mean, I need to abandon wkwebview, and go back to the old webview.

      I think I had a problem similar to this a couple years ago, Cordova people told me it was due an apple bug.

      I've tried various combinations of Keyboard.automaticScrollToTopOnHiding = true; and Keyboard.disableScrollingInShrinkView(true); but to know avail.

      The Keyboard.hideFormAccessoryBar(true); does work.

      If I understand correctly, I can't use https://github.com/Telerik-Verified-Plugins/WKWebView, since then I will need to backtrack from cordova ios 4 to cordova ios3.

      Any ideas?

      Attachments

        Activity

          People

            Unassigned Unassigned
            mluria Marc Luria
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: