Skip to content

Cannot find element for parent=SCENE_NAME within current state #370

Closed
@jeroenbourgois

Description

@jeroenbourgois

Hi

I have the following Router setup

      <Router>
        <Scene key="modal">
          <Scene key="preloader" hideNavBar={true}  component={Preloader} initial={true}  title="Preloader" />
          <Scene key="login" component={Login} />

          <Scene key="sidemenu" component={SideMenu}>
            <Scene key="welcome" component={Welcome} title="Welcome" />
            <Scene key="home" component={Home} title="Home" />
          </Scene>
        </Scene>
      </Router>

When calling Actions.welcome() on another page, I get something like:

Cannot find element for parent=sidemenu within current state

I think I am doing something wrong with the nesting (SideMenu is a Drawer component) but cannot figure out what I am missing.

Thank you for this wonderful component!

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