Skip to content

Previous button (arrow) not working properly  #53

@ivanastefanoska

Description

@ivanastefanoska

I am using the Angular Slick Carousel Plugin: https://github.com/devmark/ngx-slick in Angular 6 application.

Previous button is not working properly when SlidesToScroll and SlidesToShow properties have different values.

I want to set SlidesToShow config property to 8, but SlidesToScroll to be 1. On click on previous arrow, items are scrolled to right for one position and one item appears from the left side as first in the list of items. This works fine. The actual problem is that, other items (expect the leftmost one) are somehow broken, they are not clickable anymore. I inspect the html, and realized they have tab-index attribute set to -1 and additional class: slick-cloned , after previous arrow is clicked.

if I set SlidesToScroll to be equal as SlidesToShow property, carousel previous button works fine.

Is there any restriction for the values of SlidesToScroll property ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions