From 6c34c57ce4560f03c6edec5b3163a64f884db4bf Mon Sep 17 00:00:00 2001 From: Wellington Vicioso Date: Wed, 16 Nov 2016 16:08:16 -0500 Subject: [PATCH] fix bug where indicatorAtBottom defaults to true but appears at the top --- Carousel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Carousel.js b/Carousel.js index d1bca7a..93f9ae6 100644 --- a/Carousel.js +++ b/Carousel.js @@ -68,7 +68,7 @@ var Carousel = React.createClass({ } var indicators = [], - indicatorStyle = this.props.indicatorAtBottom ? { bottom: this.props.indicatorOffset } : { top: this.props.indicatorOffset }, + indicatorStyle = this.props.indicatorAtBottom ? { top: this.props.indicatorOffset } : { bottom: this.props.indicatorOffset }, style, position; position = {