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

Commit e26a275

Browse files
fix(sidenav): add valid transition to close animations
Fixes #3576.
1 parent 9ac7496 commit e26a275

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/components/sidenav/sidenav.scss

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@ md-sidenav {
2424
&.md-closed-add,
2525
&.md-closed-remove {
2626
display: flex;
27-
/* this is required as of 1.3x to properly
28-
apply all styling in a show/hide animation */
29-
transition: 0s all;
27+
transition: 0.2s ease-in all;
3028
}
3129

3230
&.md-closed-add.md-closed-add-active,

0 commit comments

Comments
 (0)