thaliproject / postcardapp

A sample app to demonstrate how to build Thali applications
MIT License
22 stars 5 forks source link

WKWebView disables web app UI when soft keyboard is open on iOS9 #109

Closed deadlyfingers closed 8 years ago

deadlyfingers commented 8 years ago

UI only becomes active once soft keyboard is closed again. (Note: Seems not to happen on iPhone 6+, but happens on iPhone 5 and 6)

Might have to revert back to UIWebView which behaves more consistently across all devices / iOS versions...

Need to create a POC to recreate then submit bug to WKWebView engine issues: https://issues.apache.org/jira/browse/CB/component/12327630/?selectedTab=com.atlassian.jira.jira-projects-plugin:component-summary-panel

deadlyfingers commented 8 years ago

After creating a sample Cordova project using the new iOS platform and plugins I have discovered a number of bugs depending on what config you use.

Test project setup:

cordova create WebView net.deadlyfingers.WebView WebView
cd WebView
cordova platform add ios@4.0.1

cordova plugin add cordova-plugin-wkwebview-engine@1.0.1 --save
cordova plugin add cordova-plugin-keyboard@1.1.3 --save

Summary of issues found from my tests and to be reported if not known:

deadlyfingers commented 8 years ago

Submitted bugs to Cordova issue tracker (tested using iOS 9.2):

deadlyfingers commented 8 years ago

The 'KeyboardShrinksView' blocking clicks issue must be something in iframe app as I'm unable to recreate using a vanilla Cordova WKWebView engine project. One option is to set the Cordova config preference to use "CDVUIWebViewEngine" which will has less issues.