Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Won't Fix
-
5.4.1
-
None
-
Tested on iPhone 6 plus and iPhone 5S both running iOS 9.2
Description
When using WKWebView engine the iOS Soft Keyboard fails to automatically open when the 'autofocus' attribute is set.
How to recreate:
1. Add platform and keyboard plugin
cordova platform add ios@4.0.1 cordova plugin add cordova-plugin-keyboard@1.1.3 --save
2. Update iOS keyboard to enable focus commands in 'config.xml':
<preference name="KeyboardDisplayRequiresUserAction" value="false" />
3. Add textarea to test with autofocus attribute.
<textarea placeholder="Edit text" autofocus></textarea>
(Note: Before adding the WKWebView engine plugin the UIWebView will automatically open the Soft Keyboard.)
4. Add the WKWebView engine plugin
cordova plugin add cordova-plugin-wkwebview-engine@1.0.1 --save
What happens:
Nothing.
What should happen:
The soft keyboard should open automatically (the same a UIWebView)
Attachments
Issue Links
- is duplicated by
-
CB-10874 textinput in wkwebvview doesn't open
- Closed
- links to