Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

slick-cloned slides visible if slidesToDisplay > slide count #1569

Open
joeadcock opened this issue Jun 11, 2019 · 4 comments · May be fixed by #2114
Open

slick-cloned slides visible if slidesToDisplay > slide count #1569

joeadcock opened this issue Jun 11, 2019 · 4 comments · May be fixed by #2114

Comments

@joeadcock
Copy link

joeadcock commented Jun 11, 2019

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.

@lukecartledge
Copy link

lukecartledge commented Jun 27, 2019

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.

@DivvSaxena
Copy link

Hey I would love to work on this issue!

@Arunav1
Copy link

Arunav1 commented Jan 16, 2024

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

@joeadcock
Copy link
Author

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants