React-Native-ViewPager
React-Native-ViewPager copied to clipboard
horizontalScroll=false not working in ios
I have done horizontalScroll=fasle horizontal scroll is off in Android but i can still swipe through views horizontally in IOS
Fixed it by replacing line 91 in ViewPager.js; it now says:
scrollEnabled: this.props.horizontalScroll ? true : false,
Basically pagingEnabled handles whether the scroll should snap to pages and scrollEnabled handles whether you can scroll with touch.
Thank @Doychev it works :D hope this fix will be in the next version :D
#143 shows how to resolve this issue on iOS.
wow thanks @Doychev it works on my Android and IOS now :))