Skip to content

Zoom: Panning broken if zoom in svg  #7352

@antokhio

Description

@antokhio

Check that this is really a bug

  • I confirm

Reproduction link

https://codesandbox.io/p/devbox/swiper-react-zoom-forked-klg4gh?file=%2Fsrc%2FApp.jsx%3A36%2C26

Bug description

Panning broken if i zoom in an svg. Looks like with img tag everything works perfect...

Expected Behavior

Panning works whatever is zoomed

Actual Behavior

No response

Swiper version

11.0.6

Platform/Target and Browser Versions

chrome latest windows

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    t0gglesLinked to the t0ggles task

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions