You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I have a screen where i render the gallery. I have also few touchable buttons with position "absolute" just below the image with zIndex:1 so that I can click on the button, but if I zoom the image, the button stays on top of image since zIndex:1, so I want the zIndex:0 when image is zoomed. Hence I needed onZoomBegin callback to know when the image started getting zoomed, and onZoomEnd callback to know when the image is back to original state.
With ref, it doesnt trigger an update, so can't use a useEffect to know the state.
I have a temporary solution implemented to workaround over it
Hello,
It would be really helpful if we can have onZoomBegin and onZoomEnd callback so that we can add animations to other components.
Currently we can only requestState and fetch scale value but thats a ref, so cant detect it
Also there is onPinchStart and no onDoubleTap which again doesnt serve my need
My need: I want to detect when the image has been zoomed and when it is in initial state automatically
The text was updated successfully, but these errors were encountered: