Skip to content
This repository has been archived by the owner on Feb 15, 2019. It is now read-only.

Apply transition between two StackNavigation #414

Open
ghost opened this issue Feb 13, 2017 · 0 comments
Open

Apply transition between two StackNavigation #414

ghost opened this issue Feb 13, 2017 · 0 comments

Comments

@ghost
Copy link

ghost commented Feb 13, 2017

Hi, I have a Drawer Navigation

render() {
        return (
            <DrawerNavigation
                id='main'
                initialItem={DrawerProvider.config.default}
                drawerPosition={DrawerProvider.config.position}
                drawerWidth={DrawerProvider.config.width}
                renderHeader={this._renderHeader}
            >

                {DrawerProvider.items.map((item, i) => {
                    return <DrawerNavigationItem
                        id={item.route}
                        key={i}
                        selectedStyle={styles.selectedItemStyle}
                        renderTitle={isSelected => this.renderItem(item, isSelected)}
                    >
                        <StackNavigation
                            id={item.route}
                            defaultRouteConfig={{
                                styles: {
                                    ...NavigationStyles.FloatVertical
                                }
                            }}
                            initialRoute={Router.getRoute(item.route)}
                        />
                    </DrawerNavigationItem>;
                })}

            </DrawerNavigation>
        );
    }

Each DrawerItem have a StackNavigation and its load StackNavigation initialItem, I can apply transitions using NavigationStyles to NavigationStackItems... OK but I could not find a way to apply transitions between StackNavigations switchings...

Is there any solution to done this?

@ghost ghost changed the title Apply transition between two StackNavigation switching Apply transition between two StackNavigation Feb 13, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants