react-zoom-pan-pinch
react-zoom-pan-pinch copied to clipboard
pinch and pan
I'd like to be able to disable panning (unless it is done while pinching... for example while pinching to zoom).
I'd like to be able to disable panning (unless it is done while pinching... for example while pinching to zoom).
Hey, I feel It is mentioned in their documentation you can see the available methods you can use
I had a similar issue where when I would drag the image and let go of the left button on the mouse the image would just continue dragging but this solved the issue add panning velositiDisabled = true panning={{ velocityDisabled: true, }}
@k2xl I feel like you are talking about only panning the image while 2 fingers are down for a pinch zoom? If so, I am facing the same problem. Did you find a solution?