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

[Navigator] Override swipe back behavior? #5854

Closed
aksonov opened this issue Feb 10, 2016 · 7 comments
Closed

[Navigator] Override swipe back behavior? #5854

aksonov opened this issue Feb 10, 2016 · 7 comments
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.

Comments

@aksonov
Copy link

aksonov commented Feb 10, 2016

Is there anyway to call some own methods during swipe back? Currently it calls navigator.pop() method, but i want to customize it to solve issue: aksonov/react-native-router-flux#176

@facebook-github-bot
Copy link
Contributor

Hey aksonov, thanks for reporting this issue!

React Native, as you've probably heard, is getting really popular and truth is we're getting a bit overwhelmed by the activity surrounding it. There are just too many issues for us to manage properly.

  • If you don't know how to do something or something is not working as you expect but not sure it's a bug, please ask on StackOverflow with the tag react-native or for more real time interactions, ask on Discord in the #react-native channel.
  • If this is a feature request or a bug that you would like to be fixed, please report it on Product Pains. It has a ranking feature that lets us focus on the most important issues the community is experiencing.
  • We welcome clear issues and PRs that are ready for in-depth discussion. Please provide screenshots where appropriate and always mention the version of React Native you're using. Thank you for your contributions!

@lynndylanhurley
Copy link

I'm having the same issue.

My use-case is that I want my Header component do change styles depending on the current screen. This is possible when navigating to screens, but not when swiping back from screens. So now I'm forced to disable the gesture.

@lynndylanhurley
Copy link

I just created a Product Pains post for this:
https://productpains.com/post/react-native/override-swipe-back-behavior/

lynndylanhurley added a commit to lynndylanhurley/react-native-router-flux that referenced this issue Feb 11, 2016
@lu-ko
Copy link

lu-ko commented Mar 9, 2016

+1

@charpeni
Copy link
Contributor

I'll close this issue since it's a feature request, a nice one BTW.

Please refer to the product pains entry.

@charpeni
Copy link
Contributor

@facebook-github-bot close

@ghost
Copy link

ghost commented May 20, 2016

@charpeni tells me to close this issue. If you think it should still be opened let us know why.

@ghost ghost closed this as completed May 20, 2016
@ghost ghost added the Ran Commands One of our bots successfully processed a command. label May 20, 2016
@facebook facebook locked as resolved and limited conversation to collaborators May 24, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 20, 2018
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

6 participants