swiper icon indicating copy to clipboard operation
swiper copied to clipboard

Swiper loopAdditionalSlides prop not working

Open peterchuang1111101 opened this issue 1 year ago • 10 comments

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.

Image

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

peterchuang1111101 avatar Apr 24 '24 04:04 peterchuang1111101

t0ggles-create Swiper

nolimits4web avatar Apr 24 '24 08:04 nolimits4web

Task nolimits4web/SWIPER-93 was created

t0ggles task SWIPER-93

t0ggles[bot] avatar Apr 24 '24 08:04 t0ggles[bot]

I have the same question.

ryanj8512 avatar Apr 30 '24 07:04 ryanj8512

any news? loopAdditionalSlides and loopAddBlankSlides not working

Atanas9708 avatar Jul 04 '24 13:07 Atanas9708

Confirming on the latest v11.1.4 loopAddBlankSlides and loopAdditionalSlides props are not working.

biozob avatar Jul 04 '24 13:07 biozob

I have the same question, the current solution is to roll back the version to v10.3.1, and use old prop: :loopedSlides="3"

hao-xh avatar Jul 05 '24 03:07 hao-xh

Any news from this issue?

sirkouga avatar Jul 29 '24 16:07 sirkouga

I met the same problem in React.

PuffMeow avatar Jul 30 '24 06:07 PuffMeow

same problem with loopAdditionalSlides prop....

astezenkoMarkupus avatar Aug 01 '24 14:08 astezenkoMarkupus