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
Zoom in and out seems unreliable when browser allow pinch zoom in/out for the site #6503
Comments
I observe the same behaviour even without "Force enable zoom" setting turned on for browsers Chrome/Safari on Android/IOS |
I figured the element placements and their nesting sort of plays some roles too. However, I have figured this happens on iOS devices most often. I tested pinch zoom in/out feature of other sites like Google's photos section, they work flawlessly even on iOS so I assume it's possible to improve this further. Hoping someone takes a look at this issue. |
@sjns19 |
Hi, thanks for notifying. Unfortunately, I can't check it out due to health issues right now, will check as soon as I can. Ps, I'd like to request the author or contributors to have this thread opened for further discussion regarding the zoom feature if it's not a problem. |
Closing as what possibly could be done have been done in 9.2.0 with a lot of improvements in zoom pan/zoom logic |
@sjns19 @nolimits4web I think this bug still exists, doesn't it? |
Check that this is really a bug
Reproduction link
swiper-zoom-bug.mp4
Bug description
I figured when we enable the "Force enable zoom" setting on Android chrome, the two finger pinch zoom in and out in the slider goes berserk.
I will be providing video because it happens only when a browser setting is enabled. The Demos provided on Swiper's official site themselves act like this.
I tested this on an iPhone (iOS 15) as well, kinda acts the same way.
The component setup I have is like this
I'm not quite sure if this issue could be fixed but users having this setting enabled on their browsers are definitely not going to have a pleasant experience on the site.
Additionally, I've noticed that the left/right slide also gets triggered sometimes while zooming in and out, leaving the slide half frozen.
Expected Behavior
Neat and glitch-free zoom in and out experience.
Actual Behavior
Zoom in and out glitches when the browser forcefully allows users to zoom in and out on any site.
Swiper version
9.1.0
Platform/Target and Browser Versions
Android Chrome 109.0.5414.117 (should be on any browser actually)
Validations
Would you like to open a PR for this bug?
The text was updated successfully, but these errors were encountered: