jfilter / react-native-onboarding-swiper

🛳 Delightful onboarding for your React-Native app

Home Page:https://www.npmjs.com/package/react-native-onboarding-swiper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Disable scrolling backwards

Tzikas opened this issue · comments

Is there any prop or way I can enable or disable the user swiping. I see that hiding that buttons is an option, but I would also like to disable swiping if a certain condition isn't met. Is there an option to do this? Also disabling swiping in any one direction would also be cool. (i.e I could swipe right, but not left)

Awesome module by the way 🥇

I think this handles it flatlistProps={{ scrollEnabled: false }}. #22. Is there anyway I can only disable moving forward but allow scrolling backwards?