0

I am using StackNavigation from @exponent/ex-navigation lib. Everything works fine. But push() or pop() does not to any animation. I have tried setting following for same

<StackNavigation
    defaultRouteConfig={{
        navigationBar: {
            backgroundColor: Colors.appThemeColor,
            tintColor: 'whitesmoke',
        }
    }}
    configScene={ExNavigator.SceneConfigs.FloatFromRight}
    initialRoute={Router.getRoute('locator')} />

 configScene={ExNavigator.SceneConfigs.FloatFromRight} was not able to render scene with animation.

Please let me know if i am missing anything.

jrbedard
  • 3,662
  • 5
  • 30
  • 34
AK2016
  • 149
  • 1
  • 2
  • 8

1 Answers1

0

I got it fixed, was setting animation at wrong place. Set it at Scene with required navigation style

static route = {
 styles: NavigationStyles.FloatHorizontal,
}
AK2016
  • 149
  • 1
  • 2
  • 8