-
-
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
anchor <a> tag inside slide snaps to next slide on first click #5437
Comments
+1. FF latest. |
Found the answer here : #3149 (comment) Also possibly related to #5490 |
Setting watchSlideProgress to true does not fix it. |
disabled mousedown on the tags inside the swiper tag jQuery: |
thank you! it worked |
watchSlidesProgress: true solved this problem in my case |
Also happens on button tags... |
This is still a problem.
To build on this, if using React, add via the |
This method works for me! Thank you for the solution :D |
I had to use
|
Check that this is really a bug
Reproduction link
https://codesandbox.io/s/elated-margulis-5m21z?file=/index.html
Bug description
when I use a anchor(<a>) tag inside a slide when I do a right click on the tag it slides without animation to the next slide.
Expected Behavior
open browser context menu
Actual Behavior
slides to the next slide without animating
Swiper version
8.0.3
Platform/Target and Browser Versions
Brave 1.34.80 Chromium: 97.0.4692.71
Validations
Would you like to open a PR for this bug?
The text was updated successfully, but these errors were encountered: