diff --git a/src/slider.js b/src/slider.js index 65d63a4b5..b8f683c4a 100644 --- a/src/slider.js +++ b/src/slider.js @@ -200,6 +200,7 @@ export default class Slider extends React.Component { return
{children}
; } else if (newChildren.length <= settings.slidesToShow) { settings.unslick = true; + settings.infinite = false; } return (