Melvin S Alex
Melvin S Alex

Reputation: 11

Is it posible to make a mat-step unclickable without affecting matTooltip

<mat-step>
   <ng-template matStepLabel>
       <div matTooltip="Tooltip content">End</div>
   </ng-template>
</mat-step>

I dont want this mat-step with label End to be clickable.I dont want anything to happen if i click on this mat-step .But need to show mattooltip on hover.

Tried setting pointer-events to none in css but mattooltip is not working.Note: I dont want to disable this mat-step.Just want it unclickable

Upvotes: 1

Views: 123

Answers (0)

Related Questions