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

Calculation of number of dots and active dot is not correct when slidesToShow and slidesToScroll differ #269

Open
mikesteeghs opened this issue Sep 11, 2024 · 0 comments

Comments

@mikesteeghs
Copy link

In this example, I have slidesToShow set to 4 and slidesToScroll set to 1. I have 8 slides in total, so 4 slides are directly visible and the other 4 when clicking on the navigation.

Because half of the slides are visible, I understand that 2 dots are visible. But at the same time, it is still possible to slide/click 4 times to the right with the arrow. So it seems more logic to me when 5 dots are visible and for each next [number of slidesToScroll] the following dot gets active.

Schermopname.2024-09-11.144440.mp4
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