From 591ea4ff240c0a814babf8b4bf2a35fb75821def Mon Sep 17 00:00:00 2001 From: Michael Padon Date: Tue, 17 Jan 2017 15:04:58 -0600 Subject: [PATCH] feat(carousel item): changes init to didInsertElement to prevent glimmer/emberfire render issues (#12) --- addon/components/carousel-item.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/addon/components/carousel-item.js b/addon/components/carousel-item.js index 8cee9ed..68d37b4 100644 --- a/addon/components/carousel-item.js +++ b/addon/components/carousel-item.js @@ -12,8 +12,7 @@ export default Component.extend({ index: 0, _carouselContainer: null, - init() { - this._super(...arguments); + didInsertElement() { let carouselContainer = this.nearestWithProperty('isCarouselParentContainer'); set(this, '_carouselContainer', carouselContainer);