Skip to content

Commit 98ccc9d

Browse files
rossholdwaymhartington
authored andcommitted
fix(ionSlideBox): prevent $animate from cause a delay when removing slides and slide-pagers
Closes 33790. Closes #3646. Closes #3076
1 parent 3ab9eaf commit 98ccc9d

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

Diff for: scss/_slide-box.scss

+15
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,18 @@
5454
}
5555
}
5656
}
57+
58+
//Disable animate service animations
59+
.slider-slide,
60+
.slider-pager-page {
61+
&.ng-enter,
62+
&.ng-leave,
63+
&.ng-animate {
64+
-webkit-transition: none !important;
65+
transition: none !important;
66+
}
67+
&.ng-animate {
68+
-webkit-animation: none 0s;
69+
animation: none 0s;
70+
}
71+
}

0 commit comments

Comments
 (0)