Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

mdToolbar: Hide button via ng-show/ng-hide takes a while #7929

@TobiasKrahn

Description

@TobiasKrahn

In Angular Material v1.1.0-rc2 hiding buttons inside .md-toolbar-tools via ng-show/ng-hide takes a while. Seems to be caused by this css transition:

.md-toolbar-tools .md-button, .md-toolbar-tools .md-button.md-icon-button md-icon {
    transition: all 0.5s cubic-bezier(0.35, 0, 0.25, 1);
    transition-property: background-color, fill, color;
}

Demo: http://codepen.io/anon/pen/YqYNzX
Browsers: Chrome 49, Firefox 45 and Edge

Metadata

Metadata

Assignees

Labels

has: Pull RequestA PR has been created to address this issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions