[TIMOB-13741] Android: social.js does not bring up the soft keyboard when clicking on form inputs
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Open |
Resolution | Unresolved |
Affected Version/s | Release 3.1.0 |
Fix Version/s | n/a |
Components | Android |
Labels | n/a |
Reporter | Jonas Palmero |
Assignee | Unknown |
Created | 2013-05-01T19:10:14.000+0000 |
Updated | 2018-02-28T20:04:17.000+0000 |
Description
*Problem description*
When authenticating with Twitter, form inputs do not bring up the soft keyboard (android 2.3.3).
*Workaround*
I was able to fix this by adding 'webview.focus && webview.focus()' on line 383 of a custom version of this file:
https://github.com/appcelerator/alloy/blob/master/Alloy/builtins/social.js#L383
response ? (pin = response.split("<code>")[1].split("</code>")[0], destroyAuthorizeUI(), receivePinCallback()) : (loadingView && loadingView.hide(), loadingContainer && loadingContainer.hide(), webView && webView.show(), webView.focus && webView.focus() ), loading = !1, clearInterval(intervalID), estimates[estimateID] = (new Date).getTime() - startTime, Ti.App.Properties.setString("Social-LoadingEstimates", JSON.stringify(estimates));
Hi Jonas, FYI there is a slightly more updated version in a gist here: https://gist.github.com/bettytran/4263036 I guess we should merge the changes.
Looks like an Alloy but not Android