Hi,
iOS 8.1 Titanium SDK, 3.5.1GA
Testing on an iPhone 5C
I'm trying to build a table view in a tab which loads fine - however, the click event listener on the table triggers the blur event on the tab itself. Can't work out why it behaves this way.
Due to the tabs all loading their windows and views on the tabgroup opening there is a function wrapping the controller that is called when the tab is focused
Window and tab bubbleparent is false
Code snippet below
Table event listener
$.table_orders.addEventListener("click", function(e) { var orderID = e.row.orderID; alert(e); });My tab focus / blur code
function weDoThisWhenTheTabIsFocused() { }; function doThisOnBlur() { // This always gets called when the table is clicked on }; currentTab.addEventListener("focus", weDoThisWhenTheTabIsFocused); currentTab.addEventListener("blur", doThisOnBlur);Every time I click on the table, the tab blur event triggers and the focus event triggers once the alert is dismissed.
I'd expect neither of the events to occur as the tab focus hasn't changed?