Skip to content

sceneStyle ignored. #452

@FrankSalad

Description

@FrankSalad

Version

  • react-native-router-flux v3.2.6
  • react-native v0.22.2

Routes defined like this

      <Router>
        <Scene key="root" sceneStyle={{paddingTop: 50}}>
          <Scene key="one" component={One} />
          <Scene key="other"
                 component={Other}/>
        </Scene>
      </Router>

Also tried

      <Router sceneStyle={{paddingTop: 50}}>
        <Scene key="root"2>
          <Scene key="one" component={One} />
          <Scene key="other"
                 component={Other}/>
        </Scene>
      </Router>

Expected behaviour

Padding is added to the top of both scenes.

Actual behaviour

No padding is added to the top of either scene.

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