swiper
swiper copied to clipboard
Swiper loopAdditionalSlides prop not working
Check that this is really a bug
- [X] I confirm
Reproduction link
https://codesandbox.io/p/devbox/swiper11-loop-centeredslides-ypzfmn?file=%2Fsrc%2FApp.vue%3A12%2C6-12%2C26
Bug description
I noticed that although I've set loopAdditionalSlides on CodeSandbox, it doesn't seem to have any effect. Upon inspecting the elements in devtools, I found that loopAdditionalSlides is being passed as an attribute. Upon further investigation of the source code, I realized that loopAdditionalSlides prop is not defined.
Expected Behavior
loopAdditionalSlides should be passed as props
Actual Behavior
loopAdditionalSlides not working
Swiper version
11.1.1
Platform/Target and Browser Versions
Windows/124.0.6367.61 (正式版本) (64 位元)
Validations
- [X] Follow our Code of Conduct
- [X] Read the docs.
- [X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
- [X] Make sure this is a Swiper issue and not a framework-specific issue
Would you like to open a PR for this bug?
- [ ] I'm willing to open a PR
t0ggles-create Swiper
I have the same question.
any news? loopAdditionalSlides and loopAddBlankSlides not working
Confirming on the latest v11.1.4 loopAddBlankSlides and loopAdditionalSlides props are not working.
I have the same question, the current solution is to roll back the version to v10.3.1,
and use old prop:
:loopedSlides="3"
Any news from this issue?
I met the same problem in React.
same problem with loopAdditionalSlides prop....