react-native-image-zoom
react-native-image-zoom copied to clipboard
Get the current scale/zoom level?
Is there a good way to be able to read the current scale whenever I need to? I don't see it on the ref, and I do see that there's a scale = useSharedValue()
in the instance but can't find a way to get at it. I have a few places where I would like to be able to read out the current scale (and probably the x
and y
offsets), so I can save them for later.
I have a PR in for adding the scale to the onPinchEnd
callback as a potential fix for one of my specific issues, but putting this note in in case there's a good way to accomplish this now that I'm missing.
I also need this feature, @likashefqet any chance you can merge and release this?
I could use this as well
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 15 days.
I too really want this feature. Any way we can achieve this?
I need it too please
I also need this feature
yeah this is a dealbreaker
I need this too
same here. (this comment doesn't help but i also want it and don't want to use another library since most others haven't been updated in a long time).
🎉 Version 4.1.0 of @likashefqet/react-native-image-zoom has been released with some exciting new features! 🚀
Feel free to update to the latest version to explore these additions. If you have any more suggestions or ideas for improvements, please feel free to share.
Thank you! 🙌