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

infinite not working if slidesToShow: 1.X #3526

Open
ghost opened this issue Jul 27, 2018 · 1 comment
Open

infinite not working if slidesToShow: 1.X #3526

ghost opened this issue Jul 27, 2018 · 1 comment

Comments

@ghost
Copy link

ghost commented Jul 27, 2018

When infinite is set to true and autoplay is set to true, the slider cuts the first element and not the last one.

But i want to cut the last(next) element and not the first one.

When infinite is set to false the slider cuts the next element but autoplay is not working.

====================================================================

$('.class').slick({
            dots: false,
            arrows: true,
            slidesToShow: 4,
            slidesToScroll: 1,
            autoplay: true,
            autoplaySpeed: 1000,
            infinite: true,
            responsive: [
                {
                    breakpoint: 480,
                    settings: {
                        slidesToShow: 1.5,
                        arrows: false
                    }
                },
                {
                    breakpoint: 768,
                    settings: {
                        slidesToShow: 2.5,
                       arrows: false
                    }
                },
                {
                    breakpoint: 1024,
                    settings: {
                        slidesToShow: 3.5,
                        arrows: false,
                    }
                }
            ],
        });
====================================================================

Slick Slider Version: 1.9.0

can someone help me?
@ghost
Copy link
Author

ghost commented Aug 23, 2018

Does anyone have any ideas?

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

No branches or pull requests

0 participants