Skip to content

Bug: Virtual Slides incompatibility with Zoom functions (zoom.in() and zoom.toggle()) #7960

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

Open
5 of 6 tasks
JakubBombik opened this issue Apr 16, 2025 · 0 comments
Open
5 of 6 tasks
Labels

Comments

@JakubBombik
Copy link

Check that this is really a bug

  • I confirm

Reproduction link

https://codesandbox.io/p/sandbox/86n5ny

Bug description

The Virtual module fails to work properly with Zoom module functions (zoom.in(), zoom.toggle()) when both are enabled simultaneously. While each module works independently, their combined usage breaks zoom functionality.

When Virtual are enabled:

  • zoom.in() and zoom.toggle() has no effect
  • Manual zoom (pinch/doubleclick) still works

Expected Behavior

No response

Actual Behavior

No response

Swiper version

11.2.6

Platform/Target and Browser Versions

Chrome

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant