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

Commit 36fca74

Browse files
mazavrwesleycho
authored andcommitted
fix(carousel): reset active for buffered transitions
- Disable active state for slides in buffered transitions Closes #5195 Fixes #5178
1 parent 428beaf commit 36fca74

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/carousel/carousel.js

+1
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ angular.module('ui.bootstrap.carousel', [])
102102
goNext(nextSlide, nextIndex, direction);
103103
} else if (nextSlide && nextSlide !== self.currentSlide && $scope.$currentTransition) {
104104
bufferedTransitions.push(nextSlide);
105+
nextSlide.active = false;
105106
}
106107
};
107108

0 commit comments

Comments
 (0)