[TIMOB-1840] iOS: Tableview section header incorrect on orientation change on ipad
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Trivial |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2012-07-20T13:27:07.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | iOS |
Labels | defect, header, ios, ipad, section, tableview |
Reporter | ctredway |
Assignee | Neeraj Gupta |
Created | 2011-04-15T03:03:40.000+0000 |
Updated | 2017-03-09T22:18:34.000+0000 |
Description
When a table view has sections and has been scrolled the wrong section header is shown after an orientation change happens. If the table view is a grouped tableview, this does not happen.
Code below:
var win = Titanium.UI.currentWindow
var inputData = [
{title:'row 1', header:'Header 1'},
{title:'row 2'},
{title:'row 3'},
{title:'row 4'},
{title:'row 5'},
{title:'row 6'},
{title:'row 7', header:'Header 2'},
{title:'row 8'},
{title:'row 9'},
{title:'row 10'},
{title:'row 11'},
{title:'row 12'},
{title:'row 13'},
{title:'row 14'},
{title:'row 15'},
{title:'row 16', header:'Header 3'},
{title:'row 17'},
{title:'row 18'},
{title:'row 19'},
{title:'row 20'},
{title:'row 21'},
{title:'row 22'},
{title:'row 23'},
{title:'row 24'},
{title:'row 25', header:'Header 4'},
{title:'row 26'},
{title:'row 27'},
{title:'row 28'},
{title:'row 29'},
{title:'row 30'},
{title:'row 31'},
{title:'row 32'},
{title:'row 33'}
]; var tableView = Titanium.UI.createTableView({
data:inputData
}); win.add(tableView);
Does not reproduce with release 2.1.0.
Closing ticket as the issue cannot be reproduced.