Skip to content

Unexpected zoom on next arrow double-click #4259

@dsuriano

Description

@dsuriano
  • Swiper Version: v6.4.15 … af8118e
  • OS X: Safari, Chrome, and Firefox
  • Windows: Edge, Chrome, and Firefox

What You Did

  1. Go to https://swiperjs.com/demos#zoom.
  2. Click the next arrow which takes you to image 2 of 3.
  3. Double click the next arrow.

Expected Behavior

Expected image 3 to display with no zooming effects applied.

Actual Behavior

I am taken to image 3, it zooms in for a second and zooms back out.

This does not happen when I am on image 1 of 3. When I am on image 1 and double click on the next arrow, I am taken to image 3 and none of the images zoom in for me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions