[AC-2014] Android 2.x keyboard not popping up when focusing on webview textfield (using SDK 3.1.2.GA)
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | n/a |
| Status | Closed |
| Resolution | Cannot Reproduce |
| Resolution Date | 2013-10-09T00:37:41.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | n/a |
| Labels | n/a |
| Reporter | John Rochford |
| Assignee | Mauro Parra-Miranda |
| Created | 2013-09-12T14:00:46.000+0000 |
| Updated | 2016-03-08T07:40:57.000+0000 |
Description
On an Android 2.x device the keyboard won't popup when focusing on a textfield.
The bug is evident with Titanium SDK 3.1.2.GA but not with Titanium SDK 3.1.1.GA
I've tried the following solutions with no success.
webview.focus()
http://developer.appcelerator.com/question/148773/keyboard-not-popup-on-input-focus-in-webview-on-android-2x#comment-160431
softKeyboardOnFocus
http://developer.appcelerator.com/question/145919/keyboard-wont-show-on-input-focus-in-webview-on-android
My Alloy code:
index.js (controller)
var webview = Ti.UI.createWebView({
scalesPageToFit : true,
scrollable : true,
scrollType : 'vertical',
top : "10%",
url: "http://google.com",
});
index.xml (view)
TEsted with 3.1.3.GA, and Xperia Play Android OS 2.x: working fine.