Description
When setting height to auto on a tableview with many rows, the scrolling will break
var _window = Ti.UI.createWindow();
var tbl_data = [];
for (var i = 0; i < 50; i++) {
var row = Ti.UI.createTableViewRow();
var label = Ti.UI.createLabel({
left: 10,
text: 'Row ' + (i + 1)
});
row.add(label);
tbl_data.push(row);
}
var table = Titanium.UI.createTableView({
height: 'auto',
data: tbl_data
});
_window.add(table);
_window.open();
Steps to reproduce
Add the above to an existing app.js
Build for a windows target
Actual
When the height is set to auto scrolling breaks
Expected
When the height is set to auto the scrolling should not break
https://github.com/appcelerator/titanium_mobile_windows/pull/1032
Verified fix in SDK Version 7.0.0.v20170815065413 and SDK Version: 6.2.0.v20170815130745 Test and other information can be found at: https://github.com/appcelerator/titanium_mobile_windows/pull/1032