Skip to content
Permalink
Browse files

fix(ionSlideBox): prevent $animate from cause a delay when removing s…

…lides and slide-pagers

Closes 33790. Closes #3646. Closes #3076
  • Loading branch information...
rossholdway authored and mhartington committed May 20, 2015
1 parent 3ab9eaf commit 98ccc9d28a22e2a0e1d1c7ea1cc9684ae6b1b01d
Showing with 15 additions and 0 deletions.
  1. +15 −0 scss/_slide-box.scss
@@ -54,3 +54,18 @@
}
}
}

//Disable animate service animations
.slider-slide,
.slider-pager-page {
&.ng-enter,
&.ng-leave,
&.ng-animate {
-webkit-transition: none !important;
transition: none !important;
}
&.ng-animate {
-webkit-animation: none 0s;
animation: none 0s;
}
}

0 comments on commit 98ccc9d

Please sign in to comment.
You can’t perform that action at this time.