my anchor tag and button click is disabled in between <mat-toolbar></mat-toolbar>
. If I place them outside click is working normal. Here is my code, do I have to do anything explicitly to make them work inside mat-toolbar? I tried with ng-href for anchor element which didn't work as well.
<mat-toolbar>
<mat-toolbar-row>
<div>
<a href="https://www.w3schools.com">OUR COMPANY</a>
</div>
</mat-toolbar-row>
</mat-toolbar>
It works fine !
<div class="example-container mat-elevation-z8">
<mat-toolbar>
<mat-toolbar-row>
<div>
<a href="https://www.w3schools.com">OUR COMPANY</a>
</div>
</mat-toolbar-row>
</mat-toolbar>
</div>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.