-
Notifications
You must be signed in to change notification settings - Fork 58
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
initialSlide and nextEl navigation #56
Comments
Hi @artnova-david, problem occurred while Sliders will slide to tiny-swiper/packages/tiny-swiper/src/core/index.ts Lines 123 to 128 in 99f88d4
We should update Button state after slide action just like tiny-swiper/packages/tiny-swiper/src/modules/navigation.ts Lines 115 to 120 in 99f88d4
Would you like to create a fix PR 😁 ? |
@joe223 is the help still required here? |
Describe the bug
When passing an index to 'initialSlide' and the index is the last item in the array the 'nextEl' button is not automatically disabled, but it gets disabled after clicking on it.
Expected behavior
When initializing Swiper with initialSlide as last index in the array automatically disable the 'nextEl' button.
Information
The text was updated successfully, but these errors were encountered: