Hello,
I have a sap.m.CustomTile with a sap.m.Button inside. On Both the tile and the button I have attached onpress event handler.
The problem is that when I click the button, both event handlers are executed in order. I know why this happens, I don't know how to prevent it. What I want is when I click on the button only its event handler to be executed.
I've tried placing: event.preventDefault(); return false; or cancelBubble(); inside the event handler but none of it helped.
Best Regards,
Hristo