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
When attempting to zoom in on an image using the pinch-to-zoom gesture with two fingers on a mobile device, the image initially zooms smoothly. However, at a certain point during the zoom, despite the gesture continuing smoothly, the image suddenly and sharply shifts to the side. This displacement seems random and unpredictable, causing issues with precision in image scaling control.
PZZH8587.MP4
Expected Behavior
It is expected that the image will smoothly increase in size according to the user's finger movements, without any sudden or unexpected shifts to any side. The pinch-to-zoom gesture should provide stable and predictable scaling, allowing the user to precisely control the zoom level of the image.
Actual Behavior
Currently, while zooming in on an image using a two-finger pinch gesture, the image enlarges smoothly until, at a certain moment, it experiences a sharp and unexpected shift to the side. This shift occurs without any apparent reason, disrupting the expected smoothness and precision of zoom control. This behavior is observed across various mobile devices and represents a significant deviation from the expected user experience.
Check that this is really a bug
Reproduction link
https://codesandbox.io/p/sandbox/eager-leakey-3tll5r?file=%2Fsrc%2FModalSlider.js%3A16%2C21
Bug description
When attempting to zoom in on an image using the pinch-to-zoom gesture with two fingers on a mobile device, the image initially zooms smoothly. However, at a certain point during the zoom, despite the gesture continuing smoothly, the image suddenly and sharply shifts to the side. This displacement seems random and unpredictable, causing issues with precision in image scaling control.
PZZH8587.MP4
Expected Behavior
It is expected that the image will smoothly increase in size according to the user's finger movements, without any sudden or unexpected shifts to any side. The pinch-to-zoom gesture should provide stable and predictable scaling, allowing the user to precisely control the zoom level of the image.
Actual Behavior
Currently, while zooming in on an image using a two-finger pinch gesture, the image enlarges smoothly until, at a certain moment, it experiences a sharp and unexpected shift to the side. This shift occurs without any apparent reason, disrupting the expected smoothness and precision of zoom control. This behavior is observed across various mobile devices and represents a significant deviation from the expected user experience.
Swiper version
11.1.1
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: