cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Adesalu (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CB-10376) autofocus doesn't work with WKWebView engine plugin
Date Mon, 03 Oct 2016 07:59:20 GMT

    [ https://issues.apache.org/jira/browse/CB-10376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15541821#comment-15541821
] 

Alan Adesalu edited comment on CB-10376 at 10/3/16 7:58 AM:
------------------------------------------------------------

Unfortunately, my fix is broken in iOS 10.0.2. Keyboard will not dismiss and if dismissed
manually, will automatically appear on the next tap (regardless of input, div, textarea, button,
gesture etc.)

Will investigate as soon as I can


was (Author: alan@sparkrevolutions.com):
Unfortunately, my fix is broken in iOS 10.0.2. Will investigate as soon as I can

> 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
>            Assignee: Shazron Abdullah
>            Priority: Minor
>              Labels: iOS, triaged
>
> 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
> {code}
> cordova platform add ios@4.0.1
> cordova plugin add cordova-plugin-keyboard@1.1.3 --save
> {code}
> 2. Update iOS keyboard to enable focus commands in 'config.xml':
> {code}
> <preference name="KeyboardDisplayRequiresUserAction" value="false" />
> {code}
> 3. Add textarea to test with autofocus attribute.
> {code}
> <textarea placeholder="Edit text" autofocus></textarea>
> {code}
> (Note: Before adding the WKWebView engine plugin the UIWebView will automatically open
the Soft Keyboard.)
> 4. Add the WKWebView engine plugin
> {code}
> cordova plugin add cordova-plugin-wkwebview-engine@1.0.1 --save
> {code}
> 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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message