openspacelabs / react-native-zoomable-view

A view component for react-native with pinch to zoom, tap to move and double tap to zoom capability.
MIT License
212 stars 58 forks source link

Ability to disable "bounces" #62

Open vladislavmega opened 1 year ago

vladislavmega commented 1 year ago

Hello, i'm appreciated by library, but i need ability to disable out of "bounces" when moving/scrolling out of borders, maybe i miss understood options or it have some workaround?

thanks.

mrtaiw commented 1 year ago

+1

sidpatel93 commented 1 year ago

@vladislavmega were you able to find the solution for this ?

billouboq commented 6 months ago

I have the same issue, did someone find out how to disable it ?

Volper212 commented 3 months ago

If you want to be able to move out of borders, use bindToBorders={false}. If you want to just be locked inside the borders (and not let outside) instead of bouncing back, then I am not able to help and this issue should remain open until someone knowledgeable in this library comes and shows a solution (or a workaround), or adds it as an option to the library.