You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here, the code checking if the currentSlide + slick.options.slidesToScroll value is equal to total slides length.
In my case, the first page shows first 4 slides and when I came to the second page, currentSlide + slick.options.slidesToScroll is 8 which is greater than total sliders length. so "last" value is showing as false event it is the last page.
Please fix
The text was updated successfully, but these errors were encountered:
Hi,
I am getting the "last" value in afterChange event as false, when I have 7 slides in my slider with the following configuration
I checked the code and I think below is the issue
Here, the code checking if the currentSlide + slick.options.slidesToScroll value is equal to total slides length.
In my case, the first page shows first 4 slides and when I came to the second page, currentSlide + slick.options.slidesToScroll is 8 which is greater than total sliders length. so "last" value is showing as false event it is the last page.
Please fix
The text was updated successfully, but these errors were encountered: