We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
touchStartPreventDefault: false
https://jsbin.com/mobisanici/edit?html,css,js,output
When using touchStartPreventDefault: false and swiping on an image, the interaction either doesn't work or stops working randomly.
Moving the image down with z-index: -1 fixes the issue.
z-index: -1
Swiping on an image works.
Native drag often occurs.
11.0.6
macOS Brave 1.6.153 (Chromium 121.0.6167.85)
The text was updated successfully, but these errors were encountered:
This segment of CSS might solve your problem.
.swiper-slide { user-select: none; } .swiper-slide img { pointer-events: none; }
Sorry, something went wrong.
No branches or pull requests
Check that this is really a bug
Reproduction link
https://jsbin.com/mobisanici/edit?html,css,js,output
Bug description
When using
touchStartPreventDefault: false
and swiping on an image, the interaction either doesn't work or stops working randomly.Moving the image down with
z-index: -1
fixes the issue.Expected Behavior
Swiping on an image works.
Actual Behavior
Native drag often occurs.
Swiper version
11.0.6
Platform/Target and Browser Versions
macOS Brave 1.6.153 (Chromium 121.0.6167.85)
Validations
Would you like to open a PR for this bug?
The text was updated successfully, but these errors were encountered: