swiper
swiper copied to clipboard
Autoplay pauseOnMouseEnter - Speed Issue
Check that this is really a bug
- [X] I confirm
Reproduction link
https://codesandbox.io/p/sandbox/swiper-autoplay-progress-forked-qjnwvh
Bug description
This is similar to the issue which was opened before but the solution did the fix this issue.
If you set the speed param to 3000 it will not apply the hover until 3 seconds later.
new Swiper(".mySwiper", {
slidesPerView: 3,
speed: 3000,
autoplay: {
delay: 0,
disableOnInteraction: false,
pauseOnMouseEnter: true,
},
});
Expected Behavior
The swiper should pause immediately rather than waiting the duration set in the animation speed.
Actual Behavior
Swiper pauses based on the speed set in the parameter.
Swiper version
11.1.4
Platform/Target and Browser Versions
MacOs, Chrome!
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