Skip to content

headerMode: none doesn't work - renders header effectively #4801

@wzup

Description

@wzup

Current Behavior

headerMode: 'node', renders header all right.

But docs says:

none - No header will be rendered.

Expected Behavior

none - No header will be rendered.

How to reproduce

export const TabsMain = TabNavigator({
  Home: {
    screen: DashboardStack,
    navigationOptions: {
      headerStyle,
      headerMode: 'none',  // doesn't work
      headerTitleStyle,
      header: null, // only this works
    }
  },

Your Environment

software version
react-navigation 1.5.8
react-native 0.54.2
node 8.11.3
npm or yarn 5.6.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions