var win = Ti.UI.createWindow({
backgroundColor: '#fff'
});
var label = Ti.UI.createLabel({
text: 'test focus'
});
var textArea = Ti.UI.createTextArea({
value:'test test test',
height:80,
backgroundColor:'gray',
width:Ti.UI.FILL
});
var row1 = Ti.UI.createTableViewRow({
height: 100
});
row1.add(label);
var row2 = Ti.UI.createTableViewRow({
height: 100
});
row2.add(textArea);
var section1 = Ti.UI.createTableViewSection({
});
section1.add(row1);
//section1.add(row2);
var section2 = Ti.UI.createTableViewSection({
});
section2.add(row2);
var table = Ti.UI.createTableView({
data: [section1, section2]
});
row1.addEventListener('click', function(e) {
hidekeyboard();
});
function hidekeyboard(){
Ti.API.info("hide keyboard");
Ti.API.info(textArea.value);
textArea.focus();
}
win.add(table);
win.open();
It is working fine . But when I am trying with given alloy code, it is giving wrong behavior as mentioned in ticket.
[~htbryant] Can you please help me in reproducing with help of simple test case . It will help me in debugging more efficiently.