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.NavigationBar does not call the ref callback #3752

Closed
despairblue opened this issue Oct 28, 2015 · 4 comments
Closed

Navigator.NavigationBar does not call the ref callback #3752

despairblue opened this issue Oct 28, 2015 · 4 comments
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.

Comments

@despairblue
Copy link
Contributor

As mentioned here, it's not possible to get a reference to the NavigationBar, as the callback is never called.

I adapted the NavBar Example in the UIExplorer here. I added a ref callback to the Navigator and the NavigationBar. The one for the Navigator is called, the one for the NavigationBar isn't.

I'm trying to hide and show the navigation bar on demand, but that is impossible without a ref to it.

despairblue added a commit to despairblue/react-native that referenced this issue Oct 29, 2015
despairblue added a commit to despairblue/react-native that referenced this issue Oct 29, 2015
@despairblue
Copy link
Contributor Author

Already made a PR. Hope the way I did it is also ok.

@christopherdro
Copy link
Contributor

@facebook-github-bot answered

@facebook-github-bot
Copy link
Contributor

Closing this issue as @christopherdro says the question asked has been answered. Please help us by asking questions on StackOverflow. StackOverflow is amazing for Q&A: it has a reputation system, voting, the ability to mark a question as answered. Because of the reputation system it is likely the community will see and answer your question there. This also helps us use the GitHub bug tracker for bugs only.

@facebook-github-bot facebook-github-bot added the Ran Commands One of our bots successfully processed a command. label Mar 20, 2016
@facebook facebook locked as resolved and limited conversation to collaborators Jul 21, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 21, 2018
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

5 participants