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

[Android] Problem with pinch-to-zoom #83

Open
ivaniuk7531 opened this issue Aug 10, 2024 · 4 comments
Open

[Android] Problem with pinch-to-zoom #83

ivaniuk7531 opened this issue Aug 10, 2024 · 4 comments

Comments

@ivaniuk7531
Copy link

ivaniuk7531 commented Aug 10, 2024

The pinch-to-zoom doesn't work correctly. When I zoom in on the image and remove one finger, the image will jump. It happens only on Android.
I used the latest version of react-native-awesome-gallery (0.4.2). My react-native version is 0.74.5 and react-native-gesture-handler 2.18.1. Also, I tried to use different versions of react-native-gesture-handler and react-native. This problem appears starting from a version of react native 0.73+.

Here's a video of how it works on Android

Screen_Recording_20240810_110443_Pic-Time-Dev.mp4
@skochkodmytro
Copy link

I have same issue

@efstathiosntonas
Copy link

same here!

@efstathiosntonas
Copy link

efstathiosntonas commented Sep 2, 2024

It seems that this line is causing the trouble:

After commenting it out the focal is correct and the image is properly zooms / properly stays in place after lifting fingers.

@christophemenager
Copy link

@efstathiosntonas I confirm removing this line fixes the issue on android, thanks!

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

No branches or pull requests

4 participants