Commit 7c011e7
committed
fix($animate): remove the need to add display:block!important for ngShow/ngHide
Since ngShow/ngHide animations add and remove the .ng-hide class, having to remember
to write display:block on your own is a hassle and leads to problematic animation
code. This fix places a default on the animation for you instead.
Closes angular#38131 parent 36b2bba commit 7c011e7
2 files changed
Lines changed: 6 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | 43 | | |
47 | 44 | | |
48 | 45 | | |
| |||
72 | 69 | | |
73 | 70 | | |
74 | 71 | | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | 72 | | |
79 | 73 | | |
80 | 74 | | |
| |||
126 | 120 | | |
127 | 121 | | |
128 | 122 | | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | 123 | | |
135 | 124 | | |
136 | 125 | | |
| |||
214 | 203 | | |
215 | 204 | | |
216 | 205 | | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | 206 | | |
221 | 207 | | |
222 | 208 | | |
| |||
244 | 230 | | |
245 | 231 | | |
246 | 232 | | |
247 | | - | |
248 | 233 | | |
249 | 234 | | |
250 | 235 | | |
| |||
292 | 277 | | |
293 | 278 | | |
294 | 279 | | |
295 | | - | |
296 | | - | |
297 | | - | |
298 | | - | |
299 | | - | |
300 | 280 | | |
301 | 281 | | |
302 | 282 | | |
| |||
0 commit comments