Skip to content

RCTView has a shadow set but cannot calculate shadow efficiently #448

@giacomorebonato

Description

@giacomorebonato

Version

  • react-native-router-flux v3.2.6
  • react-native v0.23.0-rc3

Expected behaviour

Load my scenes without warning

Actual behaviour

Everything works, but I have this react-native yellow warning

View #8 of type RCTView has a shadow set but cannot calculate shadow efficiently. Consider setting a background color to fix this, or apply the shadow to a more specific component.

Steps to reproduce

This is my router configuration

export default class App extends Component {
  render () {
    return (
      <Router createReducer={reducerCreate}>
        <Scene key='root'>
          <Scene key='home' component={Home} title='Home' />
        </Scene>
      </Router>
    )
  }
}

If I remove the router and I render the Home component directly, I don't have the warning message anymore.
Do you have any clues about which component is the error referring?

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