Skip to content

SnackBar does not close zone when dismissed #4859

@sv2dev

Description

@sv2dev

Bug:

SnackBar should close duration zone when dismissed, so protractor is not blocked.

What is the expected behavior?

When calling MdSnackBarRef.prototype.dismiss(), the timeout reference by setTimeout should be cleared to close the angular zone.

What is the current behavior?

The zone stays open for the duration of the timeout.

What are the steps to reproduce?

Plunker (watch the zone state)

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

@angular/[email protected]

Metadata

Metadata

Assignees

No one assigned

    Labels

    P4A relatively minor issue that is not relevant to core functionshelp wantedThe team would appreciate a PR from the community to address this issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions