Skip to content
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

use slideToLoop in loop mode, a slide disappear #6915

Closed
5 of 6 tasks
alex-ading opened this issue Aug 9, 2023 · 3 comments · May be fixed by gablittledevshop/swiper#1
Closed
5 of 6 tasks

use slideToLoop in loop mode, a slide disappear #6915

alex-ading opened this issue Aug 9, 2023 · 3 comments · May be fixed by gablittledevshop/swiper#1

Comments

@alex-ading
Copy link

Check that this is really a bug

  • I confirm

Reproduction link

https://codesandbox.io/p/sandbox/swiper-loop-bug-wh9mky?file=%2Fsrc%2FApp.vue%3A44%2C7

Bug description

In loop mode, slideToLoop to a specific index, the previous slide is missing, like this, slide 4 is missing:
image

the reproduction link can show this every time.

Expected Behavior

No response

Actual Behavior

No response

Swiper version

10.0.0

Platform/Target and Browser Versions

macOS chrome 115

Validations

  • Follow our Code of Conduct
  • Read the docs.
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
  • 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
@alex-ading alex-ading added the Vue label Aug 9, 2023
@gablittledevshop
Copy link

@nolimits4web can you explain your comment a bit more or why this is closed? I'm having the same issue as @alex-ading , but it doesn't show anything new that I can tell. e.g. In your code sandbox, if you change e.slideToLoop(4, 0); to e.slideToLoop(6, 0);, there will be missing slides.

@nolimits4web
Copy link
Owner

Swiper v11 comes with reworked and update loop mode. If your issue is replicated with v11, create a new one

Repository owner locked and limited conversation to collaborators Oct 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants