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 does not work in some cases with Creative effect #4961

Closed
5 of 6 tasks
chalkygames123 opened this issue Sep 14, 2021 · 1 comment
Closed
5 of 6 tasks

Autoplay does not work in some cases with Creative effect #4961

chalkygames123 opened this issue Sep 14, 2021 · 1 comment

Comments

@chalkygames123
Copy link

Check that this is really a bug

  • I confirm

Reproduction link

https://codesandbox.io/s/swiper-effect-creative-forked-zksnx

Bug description

In some combinations of the prev and next options, autoplay does not work for the second and subsequent slides.

The exact conditions for reproduction are unclear, but at least the following cases are true (with next: { translate: ['100%', 0, 0] }):

  • prev: {}
  • prev: { translate: [0, 0, 0] }
  • prev: { translate: ['0', 0, 0] }

On the other hand, the following cases work fine:

  • prev: { translate: [0.01, 0, 0] }
  • prev: { scale: 1.01 }
  • prev: { translate: ['0%', 0, 0] }

Expected Behavior

No response

Actual Behavior

No response

Swiper version

7.0.5

Platform/Target and Browser Versions

Any

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant