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

Support for preventing swipe left or swipe right #14684

Closed
wants to merge 1 commit into from

Conversation

lprhodes
Copy link
Contributor

The primary use case for this is disabling swipe right when using react-navigation's swipe to go back feature.

The primary use case for this is disabling swipe right when using react-navigation's swipe to go back feature.
@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. GH Review: review-needed labels Jun 22, 2017
@lprhodes
Copy link
Contributor Author

I'd appreciate suggestions on how to provide a solid test plan for this...it's a pretty minor change.

@skevy skevy requested a review from sahrens July 8, 2017 00:07
Copy link
Contributor

@sahrens sahrens left a 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.

@facebook-github-bot facebook-github-bot added GH Review: accepted Import Started This pull request has been imported. This does not imply the PR has been approved. and removed GH Review: review-needed labels Jul 8, 2017
@facebook-github-bot
Copy link
Contributor

@sahrens has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@migueloller
Copy link

There is already a way to prevent the "swipe to go back" functionality in React Navigation.

See gesturesEnabled.

@lprhodes
Copy link
Contributor Author

lprhodes commented Jul 8, 2017

@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.

lprhodes added a commit to lprhodes/react-native that referenced this pull request Jul 8, 2017
I had fixed this locally but not updated the original pull request, sorry. This commit is working for us in production.
@lprhodes
Copy link
Contributor Author

lprhodes commented Jul 8, 2017

Too late - @sahrens can you please look at and approve #14900. Apologies for the mess up.

facebook-github-bot pushed a commit that referenced this pull request Aug 1, 2017
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
grabbou pushed a commit that referenced this pull request Aug 16, 2017
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Import Started This pull request has been imported. This does not imply the PR has been approved. JavaScript
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants