components
components copied to clipboard
fix(material/tooltip): Tooltip should mark for check when visibility …
…changes
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.