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

Commit

Permalink
fix(carousel): reset active for buffered transitions
Browse files Browse the repository at this point in the history
- Disable active state for slides in buffered transitions

Closes #5195
Fixes #5178
  • Loading branch information
mazavr authored and wesleycho committed Jan 10, 2016
1 parent 428beaf commit 36fca74
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/carousel/carousel.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ angular.module('ui.bootstrap.carousel', [])
goNext(nextSlide, nextIndex, direction);
} else if (nextSlide && nextSlide !== self.currentSlide && $scope.$currentTransition) {
bufferedTransitions.push(nextSlide);
nextSlide.active = false;
}
};

Expand Down

0 comments on commit 36fca74

Please sign in to comment.