react-native-pinchable
react-native-pinchable copied to clipboard
getting issue in iOS when I zoom the image or video some time image stuck at the top of the app and can scroll the list also the zoomed view can not remove without killing the app can you provide the patch file as I got for the android in the issue https://github.com/oblador/react-native-pinchable/issues/5
https://github.com/oblador/react-native-pinchable/assets/113684446/18b410b7-1a9c-46a6-84b6-574b8266e426
kindly help me to resolve this issue
I'm also facing this issue for both platforms, Please help me to resolve this issue; "react-native-pinchable": "^0.2.1",
original-7CBEEDE0-45EA-47B7-882D-D02A2D2F00B7.mp4
i am facing this issue too, any solution?
Also seeing this...
@Jahagirds @NoahSimajji I found a solution.
The bug only presents itself when a Page/Route Navigation occurs (while the image is zoomed).
What I did was remove the <Pinchable/>
component from it's nested link.
For convenience I made a toggle wrapper, so it can be programatically toggled depending on its parent context, see here 😄
const ToggleablePinch = ({
enabled,
children,
}: {
enabled: boolean;
children: React.ReactNode;
}) => (enabled ? <Pinchable>{children}</Pinchable> : <>{children}</>);