Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support react navigation v5 #31

Open
umam006 opened this issue Mar 18, 2020 · 6 comments
Open

Support react navigation v5 #31

umam006 opened this issue Mar 18, 2020 · 6 comments

Comments

@umam006
Copy link

umam006 commented Mar 18, 2020

No description provided.

@basurahan
Copy link

same problem here i dont want to use the old version react natvigation

@thijs-qv
Copy link

thijs-qv commented Apr 1, 2020

React navigation v5's StackNavigator supports custom transitions out-of-the-box.
https://reactnavigation.org/docs/stack-navigator/#animation-related-options

@ghasemikasra39
Copy link

+1

@metion
Copy link

metion commented Jun 12, 2020

solution?

@indralukmana
Copy link

As thijs-qv said

React navigation v5's StackNavigator supports custom transitions out-of-the-box.
https://reactnavigation.org/docs/stack-navigator/#animation-related-options

an example code snippet for individual screen:

           <RootStack.Screen
              name="Notification"
              component={NotificationScreen}
              options={{ gestureDirection: 'vertical-inverted' }}
            />

ThegestureDirection will change the direction of the default animation for ReactNavigation 5, if I think the default is sliding from right to left. That option will change the sliding from top to bottom.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants
@indralukmana @metion @ghasemikasra39 @basurahan @umam006 @thijs-qv and others