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

Add routeStack prop to docs #2

Closed
voronianski opened this issue Apr 1, 2015 · 3 comments
Closed

Add routeStack prop to docs #2

voronianski opened this issue Apr 1, 2015 · 3 comments

Comments

@voronianski
Copy link
Contributor

I see routeStack prop in getLeftButtonElement method. So it's actually showing "Back" button even on initial route because never gets into https://github.com/Kureev/react-native-navbar/blob/master/index.js#L44

Should I keep the stack up to date manually?

@Kureev
Copy link
Owner

Kureev commented Apr 1, 2015

Nope. Yesterday I talked to @ericvicenti about arguments Navigator's renderScene takes. So, in the short future, when this PR will be merged, you'll be able to track routeStack in the renderScene(third parameter will be state which contains routeStack).

@voronianski
Copy link
Contributor Author

👍

@Kureev
Copy link
Owner

Kureev commented Apr 8, 2015

As far as FB guys changed their mind, now it's changed to use navigator.getCurrentRoutes().
FYI @voronianski

@Kureev Kureev closed this as completed Apr 8, 2015
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

2 participants