question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Problem: All tabs setting same title & One navigation bar for all tabs

See original GitHub issue

Version

Tell us which versions you are using:

  • react-native-router-flux 4.0.0-beta.28
  • react-native v0.53.3

Hello, I want only one NavigationBar on my tabbar but when i hide navbar in below scene, all navbar is gone.

Also when i set top scene title something else, all tabs title is setting same. How can i prevent this ?

Thank you, best regards.

Image https://i.hizliresim.com/jy6nQg.jpg

###My Codes

<Scene key="tabbar" tabs hideNavBar={false} title='Plakapedi' rightTitle=" Ara" onRight={() => Actions.studentCreate()} leftTitle=" " onLeft={() => (null)} titleStyle={{ textAlign: 'center', alignSelf: 'center', }}

` <Scene onRight={() => Actions.studentCreate()} rightTitle=" Yeni" type={ActionConst.RESET} key="tab1" component={StudentsList} title="Bugün" />
<Scene onRight={() => Actions.studentCreate()} rightTitle=" Yeni" type={ActionConst.RESET} key="tab2" component={StudentsList} title="Gündem" />
<Scene onRight={() => Actions.studentCreate()} rightTitle=" Yeni" type={ActionConst.RESET} key="tab3" component={StudentsList} title="Favoriler" />
</Scene> `

4.0.0-beta.28

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7

github_iconTop GitHub Comments

3reactions
Blapicommented, Feb 21, 2018

Tab Scene (child <Scene> within Tabs)

A Scene that is a direct child of Tabs and can use all props listed above in Scene

Property Type Default Description
icon component undefined a React Native component to place as a tab icon
tabBarLabel string The string to override a tab label
1reaction
Blapicommented, Feb 21, 2018

In your Tab Scenes :

Remove onRight, rightTitle, title, hideTabBar. Use tabBarLabel instead

Read more comments on GitHub >

github_iconTop Results From Across the Web

prefersLargeTitles Issue? | Apple Developer Forums
The large title shows up on all the tabs but when I scroll the TableView on the first tab, the large title does...
Read more >
Need a persistent/same Bottom Navigation Bar for all screens
It seems like when it navigates to another page, I lose the active state too the tabs. This is my code.
Read more >
Task Manager Menu Bar and Tabs Are Not Visible
Click Start, and then click Run. · Type taskmgr.exe. · Hold down CTRL+ALT+SHIFT at the same time, and while holding them down press...
Read more >
How to Add a Navigation Menu in WordPress (Beginner's Guide)
First, click the 'View All' tab to see all your site's pages. After that click the box next to each of the pages...
Read more >
Using the New Safari Tabs Features On Your Mac - YouTube
https://macmost.com/e-2537 Safari 15 includes major changes to how tabs look and work. You can now choose between two different ways tabs ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found