My problem: I have overlapping layers, and I am listening to the touch events which are fired on the back layer.
However I want to take action only, if visible part of the back layer is touched. How can achieve that?
Also, this one: http://www.quirksmode.org/js/events_order.html
Thank you for you answer. The links were indeed useful.I came up there with two solutions of my problem: The easy way, I just activated event listening on the upper layer.The weird way :), I checked the touchEvent object and find out that I can track X,Y coordinates of touch events.
Hi Lukas Imrich, I had the same problem, and I've found a solution in one example project:
layer.on Events.Tap, (event) -> event.stopPropagation()