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

Header title rendered wrong #2433

Closed
mysiar opened this issue Sep 26, 2017 · 3 comments
Closed

Header title rendered wrong #2433

mysiar opened this issue Sep 26, 2017 · 3 comments

Comments

@mysiar
Copy link

mysiar commented Sep 26, 2017

Version

  • react-native-router-flux 4.0.0-beta.21
  • react-native v0.48.4

Expected behaviour

Header title = Book List

Actual behaviour

Header title = Books

Steps to reproduce

<Router>
      <Scene key="root">
        <Scene key="books" headerMode="none" title="Books">
          <Scene key="BookList" component={BookList} title="Book List"  />
        </Scene>
        <Scene key="Home" component={Home} title="Home"/>
      </Scene>
</Router>
@mcabs3
Copy link
Collaborator

mcabs3 commented Sep 26, 2017

What are you navigating to? BookList or books?

@mysiar
Copy link
Author

mysiar commented Sep 26, 2017

it is just the begining and all I have in the router is above app fires up and displays BookList component but with wrong header title

@mysiar
Copy link
Author

mysiar commented Sep 26, 2017

I found soultion

<Router>
      <Stack key="root" hideNavBar>
        <Stack key="books" >
           <Scene key="BookList" component={BookList} title="Book List"  />
        </Stack>
        <Scene key="Home" component={Home} title="Home"/>
      </Stack>
</Router>

I will see how it goes when I use more & components

@mcabs3 mcabs3 closed this as completed Sep 26, 2017
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