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

[Swiper 10] Cannot drag an image when it's zoomed #6847

Closed
5 of 6 tasks
petrot opened this issue Jul 12, 2023 · 1 comment · May be fixed by Aarod23/nys-site#1
Closed
5 of 6 tasks

[Swiper 10] Cannot drag an image when it's zoomed #6847

petrot opened this issue Jul 12, 2023 · 1 comment · May be fixed by Aarod23/nys-site#1

Comments

@petrot
Copy link

petrot commented Jul 12, 2023

Check that this is really a bug

  • I confirm

Reproduction link

https://codesandbox.io/p/sandbox/8vmgzn?file=%2Findex.html%3A1%2C1

Bug description

With Swiper 10, the images aren't dragable/movable, when we zoom-in on a slide. We just drag the whole slide, instead of moving the image. With Swiper 9, we was able to drag the images while it was zoomed.

You can check this behaviour on your own demo (what I linked in the reproduction info)

Expected Behavior

The images are draggable and only move the slides, when we are on the edges of the image.

Actual Behavior

The images aren't draggable, with dragging them, the whole slide moves.

Swiper version

10.0

Platform/Target and Browser Versions

Chromium 114

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
@esiRonaldo
Copy link

have the same issue in V 11

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

Successfully merging a pull request may close this issue.

2 participants