From a4182544b7f66c5aebab5863c874f2e5f7dcc725 Mon Sep 17 00:00:00 2001 From: Mathias Schopmans Date: Thu, 6 Apr 2017 16:57:20 +0200 Subject: [PATCH] Fix PageItem.animationsIn to only create animations for filtered items --- js/components/PageItem.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/components/PageItem.js b/js/components/PageItem.js index da36f02..193984f 100644 --- a/js/components/PageItem.js +++ b/js/components/PageItem.js @@ -49,7 +49,7 @@ class PageItem extends React.Component { }, 600 ), - items: props.items.map((item, i) => (createAnimation({ + items: itemsInRing.map((item, i) => (createAnimation({ transform: 'translateX(-40px)', opacity: '0', }, {