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

Commit 1d90744

Browse files
committed
fix(ngShow): ensure that the display property is never set to block
Fixes #7707
1 parent ff03698 commit 1d90744

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

css/angular.css

+1-7
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,10 @@
22

33
[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak],
44
.ng-cloak, .x-ng-cloak,
5-
.ng-hide {
5+
.ng-hide:not(.ng-animate) {
66
display: none !important;
77
}
88

99
ng\:form {
1010
display: block;
1111
}
12-
13-
/* show the element during a show/hide animation when the
14-
* animation is ongoing, but the .ng-hide class is active */
15-
.ng-hide-add-active, .ng-hide-remove {
16-
display: block!important;
17-
}

0 commit comments

Comments
 (0)