I have an item that should perform an action when tapped, but it also contains some content that does something else when tapped.
<ion-item (tap)=edit()>
Your item here
<button (tap)=delete()>Delete</button>
</ion-item>
So if you tap “Delete,” then edit should not fire. However, there doesn’t seem to be any $event that gets passed to tap, so $event.stopPropagation is not an option.
Is there any way to tap an inner element and prevent that from triggering a tap event on an element that contains it? I don’t want to use click because of the click delay.