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

pauseOnMouseEnter: true breaks autoplay after mouseout #4569

Closed
brodenbrett opened this issue May 18, 2021 · 0 comments
Closed

pauseOnMouseEnter: true breaks autoplay after mouseout #4569

brodenbrett opened this issue May 18, 2021 · 0 comments

Comments

@brodenbrett
Copy link

  • Swiper Version: 6.6.1
  • Platform/Target and Browser Versions: Windows 10, Google Chrome

What You Did

pauseOnMouseEnter: true does not properly resume playback after mouseout event. Instead, after a single slide change autoplay does not continue. You can mimic this bug by setting autoplay delay to something small and hovering over and out of the container (see example below).

https://stackblitz.com/edit/swiper-demo-1-default-zbgvp7?file=index.html

Expected Behavior

Autoplay should resume normally after mouseout when pauseOnMouseEnter is true.

Actual Behavior

Autoplay is disabled after a single slide change.

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