react-native-pinchable icon indicating copy to clipboard operation
react-native-pinchable copied to clipboard

Android pinch-zoom always from center

Open Foveluy opened this issue 3 years ago • 3 comments

Not like iOS , you can pinch anywhere you like to zoom in&out.

on Android, picture will always zoom from center point.

how to make the behavior looks like iOS?

Thanks.

Foveluy avatar Jan 18 '23 16:01 Foveluy

I have the same question, I am just trying to figure out how to solve it on the java code

frodriguez-hu avatar Feb 17 '23 16:02 frodriguez-hu

I saw the code is using setBounds and it does not have the option to set a pivot in order to pinch-zoom from the initial point. I think in order to get it done the library should use canvas to do it or something that allows it to set a pivot. I am not an android coder but I am trying to implementing it without success

frodriguez-hu avatar Feb 24 '23 17:02 frodriguez-hu

Any updates of solution for this issue? I encounter this issue on my side too.

NoahSimajji avatar Apr 08 '24 02:04 NoahSimajji