stop dragging after a limit has reached

Try ScrollView, It has prop called scrollEnabled. By help of this prop you can turn to false when you don’t want user to be able to scroll any more. When false, the view cannot be scrolled via touch interaction.

Here is documentation: https://facebook.github.io/react-native/docs/scrollview.html#scrollenabled

ScrollView also has onScroll so it should be easy to implement the logic here.

Leave a Comment