React-native-router-flux: Prop `transitionConfig` no longer exists on any component; Can no longer change transition animation

Created on 12 Aug 2019  路  3Comments  路  Source: aksonov/react-native-router-flux

Version

Tell us which versions you are using:

  • react-native-router-flux v4.0.6
  • react v16.8.3
  • react-native v0.59.9

Expected behaviour

The package should provide the user with a smooth and easy-to-use way to change the screen transitions between scenes.

Actual behaviour

Prop transitionConfig no longer exists on any of the components, and right now I couldn't find a way to change the transition animation without completely migrating to react-navigation

Steps to reproduce

Reproducible Demo


Please provide a minimized reproducible demonstration of the problem you're reporting.

Issues that come with minimal repro's are resolved much more quickly than issues where a maintainer has to reproduce themselves.

All 3 comments

import { StackViewStyleInterpolator } from 'react-navigation-stack';

const transitionConfig = () => ({
    screenInterpolator:
        StackViewStyleInterpolator.forFadeFromBottomAndroid,
});

<Stack key="root"
     transitionConfig={transitionConfig}
>
     {/* scenes */}
</Stack>

@nikola-kolosek Hi, how did you manage to fix this? My transitions no longer work when upgrading to v4.3.0

@nikola-kolosek @nica0012 same. did you manage to fix this ?

Was this page helpful?
0 / 5 - 0 ratings