Problem Description
When a tableview has a textfield added to the footer and the tableview is not populated clicking on the textfield causes the app to crash with the error in attached log.
Test Case
var title_view = Ti.UI.createView({
height : 100
});
title_view.add(Ti.UI.createTextField({
width : "90%",
height : 40,
borderStyle : Ti.UI.INPUT_BORDERSTYLE_BEZEL
}));
var items_view = Ti.UI.createTableView({
top : 30,
data : [],
footerView : title_view
});
var win = Ti.UI.createWindow({
backgroundColor : "#fff"
});
win.add(items_view);
win.open();
Expected result
Text field should be focused
Actual result
App crashes after text field is focused
Closing ticket as duplicate.