I have a similar code structure as shown below and I am trying to achieve the behavior where clicking on the Child Div does not trigger the Parent Div click event.
<div class="parentDiv" (click)="parentDiv()">
<div class="childDiv" (click)="childDiv()">Child Container</div>
</div>
Currently, when I click on "childDiv", it first triggers the "parentDiv()" event followed by the "childDiv()" event. I would like to avoid triggering the parent event in this scenario.
Any help or guidance on how to resolve this issue would be greatly appreciated.
Thank you very much in advance!