react-slick icon indicating copy to clipboard operation
react-slick copied to clipboard

slick-cloned slides visible if slidesToDisplay > slide count

Open joeadcock opened this issue 5 years ago • 4 comments

In recent versions, if slidesToShow is set to a value greater than the number of slides, all of the slick-cloned slides will be visible.

To replicate: in the PlayGround (https://codesandbox.io/s/ppwkk5l6xx) update the settings:

var settings = {
      dots: true,
      slidesToShow: 5
    };

Version 0.21.0 does not behave this way. With version 0.21.0 if the slidesToShow is greater than the number of slides, it does not create the slick-cloned slides.

joeadcock avatar Jun 11 '19 02:06 joeadcock

I had the same issue, however @SnowDiamond's solution on this issue: #1171 fixed things for me. It's down to the combination of infinite: true and too few slides to for the slidesToShow option.

lukecartledge avatar Jun 27 '19 07:06 lukecartledge

Hey I would love to work on this issue!

DivvSaxena avatar Oct 03 '23 16:10 DivvSaxena

hey @joeadcock I would like to work on this issue and resolve it, can I be assigned for solving this issue ?

Arunav1 avatar Jan 16 '24 13:01 Arunav1

@akiran I am not involved in this project other than opening the bug report, but I am sure it would be appreciated! Be sure to check out CONTRIBUTING.md for details.

joeadcock avatar Jan 16 '24 13:01 joeadcock