[TIMOB-15438] iOS7: SectionIndexTitles overlaps SearchBar column in TableView
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2013-10-09T17:47:39.000+0000 |
Affected Version/s | Release 3.1.3 |
Fix Version/s | n/a |
Components | iOS |
Labels | index, searchbar, tableview, triage |
Reporter | Meenakshi Pathak |
Assignee | Ingo Muschenetz |
Created | 2013-10-09T07:15:41.000+0000 |
Updated | 2017-03-21T18:52:14.000+0000 |
Description
SearchBar in a tableView overlaps with the index column in iOS7.
Here is the test case :
var win = Ti.UI.createWindow();
var searchBar = Ti.UI.createSearchBar();
var indexData = [{title: 'A', index: 0}, {title: 'C', index: 3},{title: 'F', index: 16},{title: 'G', index: 18}];
var table = Ti.UI.createTableView({
search:searchBar,
});
var _data = [
{title:'Action Plan',header : 'A'},
{title:'Administrative'},
{title:'Analyze Performance'},
{title:'CCA Approval/Planning',header : 'C'},
{title:'Code Upgrade'},
{title:'Collaboration'},
{title:'Collaboration Initiated'},
{title:'Conf Call'},
{title:'Configuration/Bin Building'},
{title:'Consult'},
{title:'Corrective Maintenance'},
{title:'Customer Contacted'},
{title:'Data Migration'},
{title:'Disk Cloning Appliance'},
{title:'Dispatch Avoided'},
{title:'Escalation'},
{title:'FCO Notes',header : 'F'},
{title:'Failure Analysis'},
{title:'Field Service Update'},
{title:'Geo Turnover',header : 'G'},
{title:'Health Check'},
{title:'Incorrect Customer Info'},
{title:'Initial Response'},
{title:'Install/Upgrade'},
{title:'Next Action'},
{title:'Set Update'},
{title:'Update From Customer'}
];
var arr = [];
for(var i=0; i < _data.length; i++){
var row = Ti.UI.createTableViewRow({title:_data[i].title,header:_data[i].header});
arr.push(row);
}
table.setData(arr);
table.index=indexData;
win.add(table);
win.open();
Please find attachment of the screenshots of Titanium and native behavior in iOS7.
Attachments
File | Date | Size |
---|---|---|
index native.png | 2013-10-09T07:19:32.000+0000 | 28609 |
index overlap.png | 2013-10-09T07:15:41.000+0000 | 40517 |
This is a duplicate of TIMOB-15438.
Closing ticket as duplicate.