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

Previous button (arrow) not working properly #53

Open
ivanastefanoska opened this issue Dec 26, 2018 · 0 comments
Open

Previous button (arrow) not working properly #53

ivanastefanoska opened this issue Dec 26, 2018 · 0 comments

Comments

@ivanastefanoska
Copy link

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 ?

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

1 participant