Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable Swipe only in one direction #644

Open
matichouraider opened this issue May 10, 2021 · 4 comments
Open

Disable Swipe only in one direction #644

matichouraider opened this issue May 10, 2021 · 4 comments

Comments

@matichouraider
Copy link

matichouraider commented May 10, 2021

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.

@Sonakshi997
Copy link

Hey. Did you find a way to swipe in one direction only? Let me know how, if yes.

@sabermazoji
Copy link

I have the same problem :(

@Mani-Gme
Copy link

Mani-Gme commented Mar 9, 2022

Do you guys found any solution for this issue?

@nareshmdtechcs
Copy link

disabled={true} work for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants