allowSlideNext doesn't work #6998
Unanswered
MichalJozwa
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Check that this is really a bug
Reproduction link
https://codesandbox.io/s/polished-sound-dsq44k?file=/src/index.mjs
Bug description
Hey ones,
I have 7 slides and want to initialSlide on e.g. 2, then disallow slide to next ones.
The allowSlideNext set to false doesn't work and still can slide to next slilde, but only to the 3rd one, don't know why
Expected Behavior
Disallow sliding to next slide if the activeIndex = orderStageSwiper (just stop at this 2nd, and allow to move between 0-2 + disallow to slide between 3-7.).
Actual Behavior
Can move between all slides 0-3
Swiper version
8.4.2
Platform/Target and Browser Versions
Google Chrome
Validations
Would you like to open a PR for this bug?
Beta Was this translation helpful? Give feedback.
All reactions