Commit cf0785c
fix(material/tooltip): Tooltip should mark for check when visibility changes (#29000)
This commit fixes an error in the tooltip component where it updates
a value used in a host binding without calling `markForCheck`. This does
not currently throw an error because `checkNoChanges` is broken for
`OnPush` components. However, the error was surfaced when testing an
"exhaustive" check that will check _all_ views, regardless of their
dirty state. The issue also doesn't really produce a _visible_ problem
because it occurs when the tooltip is hidden so the fact that the zoom
never updates doesn't make a real difference.
(cherry picked from commit 01540bb)1 parent 23dc148 commit cf0785c
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1096 | 1096 | | |
1097 | 1097 | | |
1098 | 1098 | | |
1099 | | - | |
| 1099 | + | |
| 1100 | + | |
| 1101 | + | |
| 1102 | + | |
1100 | 1103 | | |
1101 | 1104 | | |
1102 | 1105 | | |
| |||
0 commit comments