diff --git a/Swiper.js b/Swiper.js index 01b3c7fd..c054a940 100644 --- a/Swiper.js +++ b/Swiper.js @@ -68,7 +68,8 @@ class Swiper extends Component { const { props, state } = this const propsChanged = ( !isEqual(props.cards, nextProps.cards) || - props.cardIndex !== nextProps.cardIndex + props.cardIndex !== nextProps.cardIndex || + props.renderCard !== nextProps.renderCard ) const stateChanged = ( nextState.firstCardIndex !== state.firstCardIndex ||