[TIMOB-11356] Android: Keyboard doesn't close in ActionBar-style tab group
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-10-13T00:16:18.000+0000 |
Affected Version/s | Release 3.0.0 |
Fix Version/s | Release 3.0.0, Release 3.1.0, 2012 Sprint 21 API, 2012 Sprint 21 |
Components | Android |
Labels | qe-review, qe-testadded, regression, tabgroup |
Reporter | Arthur Evans |
Assignee | Hieu Pham |
Created | 2012-10-10T18:17:55.000+0000 |
Updated | 2012-10-25T11:17:34.000+0000 |
Description
Related to the cloned issue, perhaps... When you focus a text field based tabgroup, then change tabs, the keyboard does not close.
This is a regression in 3.0. This behavior does not occur in 2.1.3.GA.
//
// 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();
Tested with SDK 3.0.0.v20121009034227.
Nexus 7
htc 4G LTE somethingerather
Galaxy SII
3.0.X PR: https://github.com/appcelerator/titanium_mobile/pull/3201 Master PR: https://github.com/appcelerator/titanium_mobile/pull/3186
Tested with: SDK:3.0.0.v20121024144610, 3.1.0.v20121024131714 Studio: 3.0.0.201210220122 Device:HTC Desire V(Android 4.0.3) Keyboard gets closed in ActionBar-style tab group