react-navigation-transitions
react-navigation-transitions copied to clipboard
Support react navigation v5
Did you find any solution?
same problem here i dont want to use the old version react natvigation
React navigation v5's StackNavigator supports custom transitions out-of-the-box. https://reactnavigation.org/docs/stack-navigator/#animation-related-options
+1
solution?
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.