Skip to content

Conversation

atscott
Copy link
Contributor

@atscott atscott commented May 3, 2024

…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 atscott requested a review from andrewseguin as a code owner May 3, 2024 23:39
@atscott atscott requested a review from mmalerba May 3, 2024 23:39
…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 atscott force-pushed the tooltipmarkforcheck branch from 758bc86 to 67d97cd Compare May 4, 2024 02:12
@mmalerba mmalerba added the target: patch This PR is targeted for the next patch release label May 7, 2024
@mmalerba mmalerba added the action: merge The PR is ready for merge by the caretaker label May 7, 2024
@mmalerba mmalerba merged commit 01540bb into angular:main May 7, 2024
mmalerba pushed a commit that referenced this pull request May 7, 2024
…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)
mmalerba pushed a commit that referenced this pull request May 7, 2024
…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)
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Jun 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants