likashefqet / react-native-image-zoom

A performant and customizable image zoom component built with Reanimated v2+ and TypeScript. 🌃 🚀
https://www.npmjs.com/package/@likashefqet/react-native-image-zoom
MIT License
339 stars 46 forks source link

How to disable pan bounce on frame edges? #62

Open adriendomoison opened 1 month ago

adriendomoison commented 1 month ago

I would like to allow for a hard stop when zoomed and hitting the edge of the frame, is it currently possible?

https://github.com/user-attachments/assets/4f8acb10-87bc-47b7-a8ff-b063a43120ec

Thank you!

likashefqet commented 1 month ago

Unfortunately, it's not possible at the moment, it was added to make sure the image is not moved out of the view with no way of accessing it anymore