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

Commit e778cdd

Browse files
committed
fix(fab): Remove transition for fabs on ng-hide.
Buttons currently have CSS to ensure they do not attempt any transitions when they have the `ng-hide` class attached. The `.md-fab` buttons were not receiving the same styles due to a specificity issue. Add the same styles for FABs that standard buttons have. Fixes #5235.
1 parent 0917523 commit e778cdd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/components/button/button.scss

+3
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,9 @@ button.md-button::-moz-focus-inner {
141141
height: $button-fab-mini-height;
142142
}
143143

144+
&.ng-hide, &.ng-leave {
145+
transition: none;
146+
}
144147
}
145148

146149
&:not([disabled]) {

0 commit comments

Comments
 (0)