[TIMOB-11396] Android: Soft keyboard does not show when clicking on TextField
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-06-21T10:03:38.000+0000 |
Affected Version/s | Release 3.1.0 |
Fix Version/s | Release 3.1.0, 2012 Sprint 21 API, 2012 Sprint 21 |
Components | Android |
Labels | kitchensink, qe-testadded |
Reporter | Ping Wang |
Assignee | Ping Wang |
Created | 2012-10-11T21:35:27.000+0000 |
Updated | 2013-06-21T10:03:38.000+0000 |
Description
This is a regression in 3.1.0 introduced by [PR#3095](https://github.com/appcelerator/titanium_mobile/pull/3095/)
//
// create base UI tab and root window
//
var tg = Ti.UI.createTabGroup();
var win1 = Titanium.UI.createWindow({
title : 'Tab 1',
backgroundColor : '#fff',
layout : 'vertical'
});
var label1 = Titanium.UI.createLabel({
color : '#999',
text : 'I am Window 1',
font : {
fontSize : 20,
fontFamily : 'Helvetica Neue'
},
textAlign : 'center',
width : 'auto'
});
var tf = Titanium.UI.createTextField({
hintText : 'Hello',
width : 300,
color : 'white',
backgroundColor: '#333',
});
win1.add(label1);
win1.add(tf);
var tab1 = Ti.UI.createTab({
title : 'Quarks',
window : win1
});
tg.addTab(tab1);
var win2 = Titanium.UI.createWindow({
title : 'Tab 2',
backgroundColor : '#f33',
});
var tab2 = Ti.UI.createTab({
title : 'Snoodles',
window : win2
});
tg.addTab(tab2);
tg.open();
PR https://github.com/appcelerator/titanium_mobile/pull/3182
Tested with: SDK:3.1.0.v20130114171802 Studio:3.0.1.201212181159 Device: LG-p970 Soft keyboard shown successfully on clicking textfield
Reopening just to update label.
Updated label and verified. Tested on: Device: Nexus 7 tab Android Version 4.1 SDK:3.1.2.v20130619101604 Appcelerator Studio: 3.1.1.201306131423 OS: OSX 10.8 acs:1.0.3 alloy:1.1.3 npm:1.2.14 titanium:3.1.1 titanium-code-processor:1.0.1