Event listener stopPropagation not working as expected
Summary:
Setting stopPropagation to true in the event listener of a sub/child component does not prevent the parent component's ojAction event from being executed. According to the documentation, setting stopPropagation to true should prevent the event from propagating to the parent component: https://docs.oracle.com/en/cloud/paas/visual-builder/visualbuilder-page-model/events.html
Content (please ensure you mask any confidential information):
I have a button inside an oj-action-card. When the button is clicked, I want only the button's action to be executed and prevent the oj-action-card's ojAction event from being triggered.
To achieve this, I have set stopPropagation
Tagged:
0