Skip to content

Commit

Permalink
fix(actionsheet): Use transition instead of animation for backdrop, f…
Browse files Browse the repository at this point in the history
…ix for Android 2.3
  • Loading branch information
Adam Bradley committed Mar 10, 2014
1 parent bd6c24f commit c91622b
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions scss/_action-sheet.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
*/

.action-sheet-backdrop {
@include transition(background-color 300ms ease-in-out);
position: fixed;
top: 0;
left: 0;
Expand All @@ -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);
}
}
Expand Down

0 comments on commit c91622b

Please sign in to comment.