On my webpage, I have created a unique button structure using Angular Material design:
<button mat-button class="library-tile-button">
<button mat-button class="edit-library-button">
<img class="edit-library-img" src="..."/>
</button>
<img class="library-picture" src="..."></img>
</button>
The main issue I am facing is related to the default animation behavior when clicking on the parent and child buttons. The desired functionality is to navigate to another page when clicking on the parent button, while displaying additional content upon clicking the child button.
Currently, when I click the child button, both buttons trigger the default angular material animation. My goal is to only have the animation triggered for the child button exclusively, not affecting the parent button. Any suggestions on how to achieve this would be greatly appreciated. Thank you in advance.