openspacelabs / react-native-zoomable-view

A view component for react-native with pinch to zoom, tap to move and double tap to zoom capability.
MIT License
205 stars 57 forks source link

OnZoomEnd not executing each time #66

Open GabrielMurry opened 1 year ago

GabrielMurry commented 1 year ago

OnZoomEnd does not execute after each zoom in or zoom out. Zooming in or out quickly (which may cause the image to pan slightly when you stop zooming) seems to be the problem causing onZoomEnd to not execute.

knro commented 1 year ago

can confirm this issue... any way to disable pan?

YesSkyscrapers commented 1 year ago

In my case i start to look onZoomEnd and onShiftingEnd, cuz both events contains zoomLevel property

knro commented 1 year ago

Right, I had to rely on onShiftingEnd and not on onZoomEnd alone

frdwhite24 commented 5 months ago

Just a quick note to perhaps revive this issue, but I am still experiencing onZoomEnd not triggering at the end of a pinch event. Lib version 2.1.6.