components icon indicating copy to clipboard operation
components copied to clipboard

fix(material/tooltip): Tooltip should mark for check when visibility …

Open atscott opened this issue 1 month ago • 0 comments

…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.

atscott avatar May 03 '24 23:05 atscott