[TIMOB-9337] iOS: Clicking on table view search result row closes the search.
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2012-06-01T12:03:21.000+0000 |
Affected Version/s | Release 2.0.1 |
Fix Version/s | n/a |
Components | iOS |
Labels | EMC, ios, support |
Reporter | Betty Tran |
Assignee | Neeraj Gupta |
Created | 2012-06-01T04:30:43.000+0000 |
Updated | 2017-03-14T21:59:14.000+0000 |
Description
*Description*
In a table view search bar, after searching for a table row, clicking on the result will immediately close the search.
*Sample Code*
var win = Ti.UI.createWindow({
backgroundColor: 'white',
title: 'Test tab'
});
var search = Titanium.UI.createSearchBar({
barColor:'#000',
showCancel:true,
height:43,
top:0
});
var tableData = [ {title: 'Apples'}, {title: 'Bananas'}, {title: 'Carrots'}, {title: 'Potatoes'} ];
var table = Ti.UI.createTableView({
data: tableData,
search: search
});
win.add(table);
win.open();
*Steps to Reproduce*
1. Search "apples".
2. Click on search result row.
3. Search will close.
Set hideSearchOnSelection to false on tableView
Closed as invalid.