Closed surafelbm closed 9 months ago
Hi,
what version of the package are you using? Also what's your Android device/emulator (Android version) and RN version?
I will close this issue due to inactivity. Feel free to reopen it.
react-native-pan-pinch-view v2.0.0 RN v0.74.4 Installing APK 'app-debug.apk' on 'Redmi 8A - android10' for :app:debug
Hi,
what version of the package are you using? Also what's your Android device/emulator (Android version) and RN version?
When zooming in on a picture with two fingers on an Android phone, the focus will be reset
Hey, @hdjhdjhdj,
can you also provide a screen recording of the issue? 🙏
All the other information you added is super helpful, too!
Best, Ivanka
@hdjhdjhdj thank you for providing the video! ✨
Have you ran the examples provided in this repository? If you have, do you still experience this issue? If you haven't, can you run them and see if the package is the problem with this android version/device or if it's your specific implementation?
One suggestion I have from the code you shared is:
Have you tried setting the height of containerDimensions
to the variable height
(excluding the bottom navigation height & bar height)?
When the image magnification exceeds the set maxScale, this effect will be more pronounced. I have tried other Android phones with the same effect
I'll run your demo and take a look。 My code is as follows
The demo effect also has the same issue https://github.com/user-attachments/assets/77619398-cecf-4296-bdde-e9420b941cf7
Hello, tried zooming in and out on Android but the zoom view flies away from under my fingers, this is working perfectly on iOS