-
-
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
Zoom, thumbs and grab scroll don't work anymore #7636
Zoom, thumbs and grab scroll don't work anymore #7636
Comments
Got the same problem here. All sites using swiperjs is not working anymore |
I still got the same problem. |
just upgrade to the latest version, it is fixed!
|
HI Thank you. I am using swiper per CDN right now. Cool <script src="https://cdn.jsdelivr.net/npm/swiper@11.1.7/swiper-bundle.min.js"></script>is working, <script src="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.js"></script>doesn't. I assumed that the latter would automatically update to the latest minor version :) |
New release isn't on jsdeliver yet, but 11.1.7 does indeed fix the issue. |
It does update but it is aslo cached. When you notice this discrepancy, you can purge the latest version cache here. |
Hi! I'm confused with a fuction and maybe I'm not seing the whole picture here, but in the // ...
function elementIsChildOf(el, parent) {
const isChild = parent.contains(el);
if (!isChild && parent instanceof HTMLSlotElement) {
const children = [...element.assignedElements()];
return children.includes(el);
}
return isChild;
} |
Check that this is really a bug
Reproduction link
https://codesandbox.io/p/sandbox/hjrcp2
Bug description
The functionalities for zoom, thumbnails, and grab scroll have stopped working. Specifically:
Zoom Functionality: The zoom feature, which allows users to zoom in and out on images or slides, is no longer operational. This means that interactions to pinch or use zoom controls are ineffective.
Thumbnails: The thumbnail navigation is not functioning. Clicking on thumbnails does not change the main slide view.
Grab Scroll: The grab scroll feature, which enables users to click and drag the slide to navigate through the carousel, is also malfunctioning. Users are unable to click and drag to scroll through the slides as expected.
Expected Behavior
Actual Behavior
Swiper version
11.1.6
Platform/Target and Browser Versions
Windows, Firefox 128
Validations
Would you like to open a PR for this bug?
The text was updated successfully, but these errors were encountered: