This is my code. I am getting 2 tooltips in Safari. I want one tooltip that I have already prepared.
Can you kindly let me know how to make the default browser tooltip disappear?
<div
[attr.id]="'nodeRow-'+node.id"
[ngClass]="selectedID===node.id?'node-title-active':'node-title-inactive'"
class="row node-title"
(mouseenter)="overlayEffecton(node)"
(mouseleave)="overlayEffectoff(node)"
matTooltip="{{node.name}}"
matTooltipPosition="right"
matTooltipHideDelay="3"
matTooltipClass="right">
2
Answers
It looks like your framework is generating a title attribute on the rendered page. You need to set the title attribute to be empty.
Example Code (untested):
And add the selector to your element:
Use
[attr.title]="null">
.