Skip to content

Commit

Permalink
fix(ionSlideBox): prevent $animate from cause a delay when removing s…
Browse files Browse the repository at this point in the history
…lides and slide-pagers

Closes 33790. Closes #3646. Closes #3076
  • Loading branch information
rossholdway authored and mhartington committed Aug 28, 2015
1 parent 3ab9eaf commit 98ccc9d
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions scss/_slide-box.scss
Expand Up @@ -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.