Fix PageItem.animationsIn to only create animations for filtered items
This commit is contained in:
@@ -49,7 +49,7 @@ class PageItem extends React.Component {
|
|||||||
},
|
},
|
||||||
600
|
600
|
||||||
),
|
),
|
||||||
items: props.items.map((item, i) => (createAnimation({
|
items: itemsInRing.map((item, i) => (createAnimation({
|
||||||
transform: 'translateX(-40px)',
|
transform: 'translateX(-40px)',
|
||||||
opacity: '0',
|
opacity: '0',
|
||||||
}, {
|
}, {
|
||||||
|
|||||||
Reference in New Issue
Block a user