-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
Support for preventing swipe left or swipe right #14684
Conversation
The primary use case for this is disabling swipe right when using react-navigation's swipe to go back feature.
I'd appreciate suggestions on how to provide a solid test plan for this...it's a pretty minor change. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't seem ideal, but if this solves a problem for you it's fine.
@sahrens has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
There is already a way to prevent the "swipe to go back" functionality in React Navigation. See |
@migueloller That isn't the intention. Swipe to go back should still work when used in conjunction with the experimental swipe-able cells. That's not currently the case. Hold on approval though please. I'd like to double check no further amends were made to this. |
I had fixed this locally but not updated the original pull request, sorry. This commit is working for us in production.
Summary: I had fixed this locally but hadn't updated the original pull request, sorry. This commit is working for us in production. Closes #14900 Differential Revision: D5539787 Pulled By: hramos fbshipit-source-id: 6c826ada4a7f36607c65508ced6c9dce32002f74
Summary: I had fixed this locally but hadn't updated the original pull request, sorry. This commit is working for us in production. Closes #14900 Differential Revision: D5539787 Pulled By: hramos fbshipit-source-id: 6c826ada4a7f36607c65508ced6c9dce32002f74
The primary use case for this is disabling swipe right when using react-navigation's swipe to go back feature.