-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
Sometimes when I click on a pagination bullet, the slider goes to a wrong slide #3816
Comments
Hi, I did same test but only clicking quicly between 2 items ( page 3 and 4) and it moves to page 2 in a moment. |
@SilencerWeb I can't reproduce the issue. |
@vltansky in your example everything is ok, that's probably an accident swiping but I'm not sure why the slider thinks I'm swiping when I'm not doing anything close to this |
@vltansky in your example, if you enable simulateTouch, you can reproduce the error. |
I’ve noticed that it is quite easy to accidentally trigger a drag interaction if your mouse moves even slightly while clicking on a pagination button. I’ve only experienced this with Chromium, never Webkit. I haven’t found myself going to the wrong slide, but I have found that I have to click pagination buttons more than once because the first click was processed as a small drag event. I’m going to disable Edit: I’ve just twigged that this is easily resolvable by setting |
This is a (multiple allowed):
bug
enhancement
feature-discussion (RFC)
Swiper Version: 6.2.0 (of course, if your demos are using the latest version)
Platform/Target and Browser Versions: macOS 10.15.6, Chrome 85.0.4183.102 (Official Build) (64-bit)
Live Link or JSFiddle/Codepen or website with isssue: Demo, Source Code
What you did
Sometimes when I click on a pagination bullet, the slider goes to a wrong slide. Here you can see the video
Expected Behavior
The slider should go to a correct slide
Actual Behavior
The slider went to a wrong slide
The text was updated successfully, but these errors were encountered: