Project: titanium
Issue TIMOB-4274: iOS: searchHidden value does not stay when window containing scroll view is blurred/focused
The use of searchHidden:true is losing its value in that once a window containing a table with this property is blurred, on return the search is displayed. Code example below: {code:lang=javascript|title=app.js} Titanium.UI.setBackgroundColor('#fff'); var tabGroup = Titanium.UI.createTabGroup(); var win1 = Titanium.UI.createWindow({	title:'Tab 1' }); var tab1 = Titanium.UI.createTab({	title:'Tab 1',	window:win1 }); var data = [{	title:'row 1' }]; var s1 = Titanium.UI.createSearchBar(); var tb = Ti.UI.createTableView({	data:data,	search:s1,	searchHidden:true }); win1.add(tb); var win2 = Titanium.UI.createWindow({	title:'Tab 2' }); var tab2 = Titanium.UI.createTab({	title:'Tab 2',	window:win2 }); var label2 = Titanium.UI.createLabel({	text:'I am Window 2' }); win2.add(label2); tabGroup.addTab(tab1); tabGroup.addTab(tab2); tabGroup.open(); {code}
Story points: 3