Skip to content

Commit c9ed4ea

Browse files
committed
fix(collapse): opacity breaks navbar expand
1 parent abc63ab commit c9ed4ea

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

projects/coreui-angular/src/lib/collapse/collapse.animations.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ export const expandAnimation = animation([
55
]);
66

77
export const collapseAnimation = animation([
8-
style({ height: '*', opacity: '*', minHeight: '*' }),
8+
style({ height: '*', minHeight: '*' }),
99
animate('{{ time }} {{ easing }}',
10-
style({ height: 0, opacity: 0, minHeight: 0 })
10+
style({ height: 0, minHeight: 0 })
1111
)
1212
]);
1313

@@ -16,9 +16,9 @@ export const expandHorizontalAnimation = animation([
1616
]);
1717

1818
export const collapseHorizontalAnimation = animation([
19-
style({ opacity: '*' }),
19+
// style({ opacity: '*' }),
2020
animate(
21-
'{{ time }} {{ easing }}',
22-
style({ opacity: 0 })
21+
'{{ time }} {{ easing }}'
22+
// style({ opacity: 0 })
2323
)
2424
]);

0 commit comments

Comments
 (0)