Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-13741] Android: social.js does not bring up the soft keyboard when clicking on form inputs

GitHub Issuen/a
TypeBug
PriorityLow
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 3.1.0
Fix Version/sn/a
ComponentsAndroid
Labelsn/a
ReporterJonas Palmero
AssigneeUnknown
Created2013-05-01T19:10:14.000+0000
Updated2018-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));

Comments

  1. Daniel Sefton 2013-05-01

    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.
  2. Sunila 2013-05-14

    Looks like an Alloy but not Android

JSON Source