Skip to content

ChangeDetectionStrategy.OnPush causes tooltips to break after upgrade to beta 3 #4014

Closed
@alexjlockwood

Description

@alexjlockwood

Bug, feature request, or proposal:

Tooltips started looking glitchy after I upgraded to beta 3 (see the gif and plunkr below).

It seems like the glitch has to do with setting changeDetection: ChangeDetectionStrategy.OnPush on the component, because when I remove that line the tooltips look fine.

What is the expected behavior?

The tooltip shouldn't flicker.

What is the current behavior?

The tooltip flickers:

tooltipbug

What are the steps to reproduce?

Here is a Plunkr that reproduces the issue: https://plnkr.co/edit/uqE0gm?p=preview

Which versions of Angular, Material, OS, browsers are affected?

I am using Chrome, the latest version of Material (beta 3), and the latest version of Angular (4.0.1).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions