is that possible to disable the snap on the element
you want to disable dragging by the user?
or do you not want to snap to the pre-defined positions at all?
I want to disable the user dragging.
In some situation, I don't want the modal can be dismissed by dragging.
It's a cool feature, let's add it.
In the meantime, you can do the following:
When you don't want the modal to be dismissed, setState() and change the snapPoints prop of the Interactable view and only leave one point (remove the point outside the screen). When the user can dismiss, run setState() again and add the missing snapPoint
Added support on master for iOS only, take a look if this is what you want. @ButtersHub Android next?
Most helpful comment
Added support on master for iOS only, take a look if this is what you want. @ButtersHub Android next?