fix(actionsheet): Use transition instead of animation for backdrop, fix for Android 2.3

This commit is contained in:
Adam Bradley
2014-03-10 11:40:50 -05:00
parent bd6c24f324
commit c91622b760

View File

@@ -4,6 +4,7 @@
*/
.action-sheet-backdrop {
@include transition(background-color 300ms ease-in-out);
position: fixed;
top: 0;
left: 0;
@@ -13,13 +14,6 @@
background-color: rgba(0,0,0,0);
&.active {
@include animation(fadeInHalf 0.3s);
@include animation-fill-mode(both);
}
&.active-remove {
@include animation(fadeOutHalf 0.3s);
@include animation-fill-mode(both);
background-color: rgba(0,0,0,0.5);
}
}