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

Inconsistently manual scrolling when autoplay with delay 0, regression in 9 version #7515

Closed
5 of 6 tasks
alkorlos opened this issue May 3, 2024 · 4 comments
Closed
5 of 6 tasks
Labels
t0ggles Linked to the t0ggles task

Comments

@alkorlos
Copy link

alkorlos commented May 3, 2024

Check that this is really a bug

  • I confirm

Reproduction link

https://codesandbox.io/p/sandbox/swiper-9-autoplay-delay-0-f29fh3

Bug description

Create a creeping line, applying the following parameters: speed: 3500 and autoplay-delay 0.

Visually, it looks like what need, but there is a bug with manual scrolling. The transition-duration of the swiper-wrapper should reset to 0 during manual scrolling. Starting from version 9, this happens inconsistently. Attaching a video for reference.
2024-05-03 12-21-21_1.webm During the first manual scroll, the transition-duration doesn't reset to 0; however, during the second manual scroll, it works correctly.

With autoplay-delay 1000 work correct.

In version 8.4.7 work correct.

Expected Behavior

transition-duration reset to 0 with manual scrolling.

Actual Behavior

transition-duration not reset to 0 with manual scrolling.

Swiper version

from 9.4.1, including 11.1.1

Platform/Target and Browser Versions

macOS Chrome 124, Windows Chrome 124

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
@nolimits4web
Copy link
Owner

t0ggles-create swiper

Copy link

t0ggles bot commented May 3, 2024

Task nolimits4web/SWIPER-98 was created

t0ggles task SWIPER-98

@t0ggles t0ggles bot added the t0ggles Linked to the t0ggles task label May 3, 2024
Copy link

t0ggles bot commented May 13, 2024

Task nolimits4web/SWIPER-98 status changed to Done

@alkorlos
Copy link
Author

Thank you!

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

No branches or pull requests

2 participants