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

Autoplay stops on card effects after manually moving to next or previous slide #7158

Closed
5 of 6 tasks
LucasWongC opened this issue Nov 2, 2023 · 2 comments
Closed
5 of 6 tasks
Labels

Comments

@LucasWongC
Copy link

Check that this is really a bug

  • I confirm

Reproduction link

https://codesandbox.io/s/swiper-react-effect-cards-forked-qjzj9j?file=/src/App.jsx

Bug description

I just added autoplay to Swiper React Effect Cards codesandbox project.
At first, autoplay works fine.
But if I manually move to next or previous slide by dragging the card, it doesn't autoplay anymore.

Expected Behavior

No response

Actual Behavior

No response

Swiper version

^10.0.0

Platform/Target and Browser Versions

Chrome

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
@zqinshade
Copy link

You need to set disableOnInteraction parameters to false for autoplay. Checkout https://swiperjs.com/swiper-api#param-disableOnInteraction

@LucasWongC
Copy link
Author

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants