Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1261] iOS >=7.0: ListView SearchBar exception while NavigationWindow pop

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionFixed
Resolution Date2014-09-08T17:55:47.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
LabelsTCSupportTriage, listView, navigationWindow, searchbar
ReporterFar
AssigneeMauro Parra-Miranda
Created2014-08-19T12:04:13.000+0000
Updated2016-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

FileDateSize
exception.txt2014-08-19T12:04:13.000+00007126

Comments

  1. Far 2014-09-06

    Already fixed by another ticket. Close it please.

JSON Source