Skip to content
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

[iOS] Prevent additional gestures while pinching #21

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

francoismarceau29
Copy link

@francoismarceau29 francoismarceau29 commented Dec 12, 2023

The Problem
Doing other gestures while pinching an image leads to layout issues and crashes. In my case, the user could scroll the table view behind the pinched image while the scale was at 0, which led to a crash.

Solution
Preventing the background view's opacity from going to zero prevents the user from doing other gestures while pinching an image.

This fix the issue #9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant