Skip to content
This repository was archived by the owner on May 10, 2018. It is now read-only.

Commit aad8097

Browse files
committed
fix(indicator): prevent transition conflict with ngAnimate
1 parent eee5b6b commit aad8097

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

dist/angular-carousel.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@
5252
color: #333; }
5353
.rn-carousel-indicator span:before {
5454
content: "\25cf"; }
55+
.rn-carousel-indicator span.ng-leave {
56+
-webkit-transition: none !important;
57+
transition: none !important; }
5558
.rn-carousel-indicator .active {
5659
color: white; }
5760

dist/angular-carousel.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/css/angular-carousel.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ $rn-carousel-control-height: 30px;
5353
&:before {
5454
content: "\25cf";
5555
}
56+
&.ng-leave {
57+
// see https://github.com/revolunet/angular-carousel/issues/179
58+
transition: none !important;
59+
}
5660
}
5761

5862
.active {

0 commit comments

Comments
 (0)