Convertigo Public Knowledge base

Prevent propragation of a click event to parent

The events have to be changed from onTap to onClick in order to use the stopPropagation() function.

You have to set the same event for both parent and child elements.

This should not change the application behaviour on real device.

There is a global setting in the NgxApp (ex Application) object to change onTap event to onClick :

Set it to true and all onTap events will act as onClick ones.

In the Tap event of the button use the following code


In a new or an existing Custom action component as a child of the Tap event.

The event will not “bubble” up to the parent (listItem).



(c) Convertigo 2023