Project: titanium
Issue TIMOB-19253: iOS: Clicking a list item while editing the list does not fire itemclick event
Test code: {code:java} var win = Ti.UI.createWindow({backgroundColor: 'white'}); var listViewEditing = false; var listView = Ti.UI.createListView({editing: listViewEditing, height: 100, top: 20}); var sections = []; var fruitSection = Ti.UI.createListSection({ headerTitle: 'Fruits'}); var fruitDataSet = [ {properties: { title: 'Apple', canEdit: true}}, {properties: { title: 'Banana'}}, ]; fruitSection.setItems(fruitDataSet); sections.push(fruitSection); listView.sections = sections; listView.addEventListener('itemclick', function() {	alert("itemclick");	// BUG: this only fires when listView.editing is false }); win.add(listView); var button = Ti.UI.createButton({title: "Toggle editing"}); button.addEventListener('click', function() {	listViewEditing = !listViewEditing;	listView.editing = listViewEditing; }); win.add(button); win.open(); {code}
Story points: 1