Skip to content

Back button disappears when I switch tabs #1758

@ghost

Description

Version

Tell us which versions you are using:

  • react-native-router-flux v3.38.0
  • react-native v0.42.0

Following are my scenes

<Scene key="tabbar" tabs={true}>
     <Scene key="tab1" title="Tab 1" icon={TabIcon}>
       <Scene key="recommendations" component={RecommendationsScene} title="Reccomendations" />
     </Scene>
     <Scene key="tab2" title="Tab 2" icon={TabIcon}>
       <Scene key="graph" component={GraphScene} title="Graph" />
     </Scene>
     <Scene key="tab3" title="Tab 3" icon={TabIcon}>
       <Scene key="editMetric" component={EditMetricScene} title="Edit Metric" />
     </Scene>
   </Scene>

The tab screen shows everything but when I switch between tabs, the Back button disappears.
It seems the Nav Bar is getting completely refreshed when switching tabs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions