'Angular material tooltip problem with ChangeDetectionStrategy.OnPush
I have a table with tooltips inside rows:
<ng-container matColumnDef="icons">
<th mat-header-cell *matHeaderCellDef>#</th>
<td mat-cell *matCellDef="let element">
<span [matTooltip]="'Hello, world'" matTooltipPosition="below"
>tooltip</span>
</td>
</ng-container>
The table can have thousands of rows, that's why I have to use ChangeDetectionStrategy.OnPush. However, with such detection strategy I have a problem with tooltips - they are shown without text. StackBlitz demo is here. Could anyone say how to fix it?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
