Closed carestad closed 2 years ago
Hi!
Thanks for submitting the issue (and the previous one). I am just getting back from a short Covid "vacation" and I am catching up on work.
Unfortunately, due to how all calculations are done, the contentDimensions
and containerDimensions
must be fixed values. I decided to let users of the package determine the dimensions, instead of trying to figure out where the component is placed and trying to measure its surroundings.
You might use useWindowDimensions()
to get the width of the screen (mimicing 100% width). If that doesn't work for you, post your code and we could think of a solution together!
Best, Iv
I will close this issue due to inactivity. Feel free to reopen it if you're still experiencing issues.
Hi
I've been trying to use this component instead of https://github.com/likashefqet/react-native-image-zoom due to the reason that the zoom does not snap back when releasing the pinch move. But it seems I can not use
100%
as a width for the content dimension and/or container dimension property. It just leads to the<Image />
not loading.Example code: