David Douglas created CB-10376:
----------------------------------
Summary: textarea autofocus doesn't work with WKWebView engine
plugin
Key: CB-10376
URL: https://issues.apache.org/jira/browse/CB-10376
Project: Apache Cordova
Issue Type: Bug
Components: Plugin WKWebViewEngine
Affects Versions: 5.4.1
Environment: Tested on iPhone 6 plus and iPhone 5S both running iOS
9.2
Reporter: David Douglas
Priority: Minor
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 [email protected]
cordova plugin add [email protected] --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 [email protected] --save
```
What happens:
Nothing.
What should happen:
The soft keyboard should open automatically (the same a UIWebView)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]