likashefqet/react-native-image-zoom

[Feature Request] Disable Snap Back via a dedicated property.

OwenMelbz opened this issue · 2 comments

Is your feature request related to a problem? Please describe.
Our app has inconsistent sized image (by design) and this package makes it super easy to handle all the zooming etc. However the "snap back to level 1" feature after about 1s is frustrating users who are zooming in to inspect imagery then being taken back zoomed out, Currently they have to keep their fingers on the screen to try and inspect them which can be a pain, so we'd like to make this a smoother experience for them.

Describe the solution you'd like
It would be great to have a standalone prop that could simply disable the snapping back feature e.g. snapBack={ true/false } as this would solve all our problems.

Describe alternatives you've considered
We've looked at the isDoubleTapEnabled prop which also disables the snap back functionality, however this enables double tap to zoom in/out, which in our scenario conflicts with our "approve" or "unapprove" feature as each time they double tap to approve it, it zooms them out.

Additional context
N/A

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.

This issue was closed because it has been stalled for 15 days with no activity.