Not all browsers / applications for touch devices support the click event, because it is a mouse event. Why don't you try using the standard Sencha event system to bind the click handler to the component, then you can check if <li /> has been clicked inside the component's event handler.
Sencha has already done this job for us so we can handle clicks and taps in the same way, so use it.
Btw, delegating events from a parent element is usually more efficient than binding event handlers to a set of different DOM elements. It looks like your anchored events to elements in a loop are bad practice. I just wanted to point it out too.
Here is a sample code:
var cmp = Ext.getCmp('someComponentId'); cmp.on('click', function(me, event) { if (event.currentTarget.tagName == "LI") {
macguru2000
source share