react-swipeable-views
react-swipeable-views copied to clipboard
Disable Swipe only in one direction
Hello, is it possible to disabled swipe only in one direction ?
Expected Behavior
I would like add property to disable swipe action only in one direction. For example, I can swipe to left but not to right.
Current Behavior
Currentily only property "disabled" exist. But when I set disabled to True, right and left swipe aren't possibles.
Context
Currently I use the Swipe to navigate between dates. But I've a min date and a max date. I would like avoid user can swipe to an forbidden date.
I use Virtualized because I have lot of dates.
Hey. Did you find a way to swipe in one direction only? Let me know how, if yes.
I have the same problem :(
Do you guys found any solution for this issue?
disabled={true} work for me.