[AC-1261] iOS >=7.0: ListView SearchBar exception while NavigationWindow pop
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2014-09-08T17:55:47.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | TCSupportTriage, listView, navigationWindow, searchbar |
Reporter | Far |
Assignee | Mauro Parra-Miranda |
Created | 2014-08-19T12:04:13.000+0000 |
Updated | 2016-03-08T07:37:39.000+0000 |
Description
test app
var prewin = Ti.UI.createWindow();
var win = Ti.UI.createWindow();
var nav = Ti.UI.iOS.createNavigationWindow({window: prewin, backgroundColor: 'white'});
var section = Ti.UI.createListSection();
section.setItems([
{properties: {title: 'Cod', searchableText: 'Cod'}},
{properties: {title: 'Haddock', searchableText: 'Haddock'}}
]);
var list = Ti.UI.createListView({
searchView: Ti.UI.createSearchBar()
});
list.appendSection(section);
list.addEventListener('itemclick', function() {
nav.closeWindow(win);
});
win.add(list);
nav.open();
nav.openWindow(win);
Steps to reproduce:
1. Click to SearchBar
2. Enter 'od' for example
3. Click to 'Cod'
Exception as result.
Attachments
File | Date | Size |
---|---|---|
exception.txt | 2014-08-19T12:04:13.000+0000 | 7126 |
Already fixed by another ticket. Close it please.