You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While using the Swiper's zoom feature on a mobile device, I've encountered an issue where the image slightly recoils from the edge of the display as it approaches it during a pinch-to-zoom action. This unintended behavior results in a less smooth zoom experience. Additionally, I am interested in customizing the zoom feature to enable zooming into the specific area where the user applies the pinch gesture, rather than the current functionality that zooms into the image's center regardless of where the user pinches.
d77a5a00-9a52-425f-93ad-ad3bf61739ac.mp4
Expected Behavior
When zooming in on an image, the expected behavior is for the image to seamlessly zoom towards the edges without recoiling. For a more intuitive user experience, zooming should focus on the area between the user's fingers, allowing for precise control over the zoomed area.
Actual Behavior
Currently, as the image approaches the edge of the screen during zoom, it slightly recoils away from the edge before continuing to zoom in normally. Moreover, the zoom functionality is centered on the image rather than the area pinched by the user, limiting the user's ability to zoom into specific parts of the image.
Check that this is really a bug
Reproduction link
https://codesandbox.io/p/sandbox/eager-leakey-3tll5r?file=%2Fsrc%2FModalSlider.js
Bug description
While using the Swiper's zoom feature on a mobile device, I've encountered an issue where the image slightly recoils from the edge of the display as it approaches it during a pinch-to-zoom action. This unintended behavior results in a less smooth zoom experience. Additionally, I am interested in customizing the zoom feature to enable zooming into the specific area where the user applies the pinch gesture, rather than the current functionality that zooms into the image's center regardless of where the user pinches.
d77a5a00-9a52-425f-93ad-ad3bf61739ac.mp4
Expected Behavior
When zooming in on an image, the expected behavior is for the image to seamlessly zoom towards the edges without recoiling. For a more intuitive user experience, zooming should focus on the area between the user's fingers, allowing for precise control over the zoomed area.
Actual Behavior
Currently, as the image approaches the edge of the screen during zoom, it slightly recoils away from the edge before continuing to zoom in normally. Moreover, the zoom functionality is centered on the image rather than the area pinched by the user, limiting the user's ability to zoom into specific parts of the image.
Swiper version
6.8.4
Platform/Target and Browser Versions
iOS, Safari
Validations
Would you like to open a PR for this bug?
The text was updated successfully, but these errors were encountered: