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
{{ message }}
This repository was archived by the owner on Nov 30, 2022. It is now read-only.
As we had to render some pictures with different initial offsets for our project, we noticed that on the first pan the pictures are being repositioned to 0,0;
Our solution was to initialise the lastX and lastY to the props on mount; we patched the module locally for our project;
Maybe this will help somebody;
we inserted this in line 85 of ReactNativeZoomableView.tsx, just before componentDidUpdate
As we had to render some pictures with different initial offsets for our project, we noticed that on the first pan the pictures are being repositioned to 0,0;
Our solution was to initialise the lastX and lastY to the props on mount; we patched the module locally for our project;
Maybe this will help somebody;
we inserted this in line 85 of ReactNativeZoomableView.tsx, just before componentDidUpdate
The text was updated successfully, but these errors were encountered: