Skip to content

Commit c91622b

Browse files
author
Adam Bradley
committed
fix(actionsheet): Use transition instead of animation for backdrop, fix for Android 2.3
1 parent bd6c24f commit c91622b

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

Diff for: scss/_action-sheet.scss

+1-7
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
*/
55

66
.action-sheet-backdrop {
7+
@include transition(background-color 300ms ease-in-out);
78
position: fixed;
89
top: 0;
910
left: 0;
@@ -13,13 +14,6 @@
1314
background-color: rgba(0,0,0,0);
1415

1516
&.active {
16-
@include animation(fadeInHalf 0.3s);
17-
@include animation-fill-mode(both);
18-
}
19-
20-
&.active-remove {
21-
@include animation(fadeOutHalf 0.3s);
22-
@include animation-fill-mode(both);
2317
background-color: rgba(0,0,0,0.5);
2418
}
2519
}

0 commit comments

Comments
 (0)