React-native-router-flux: how to set transition animation

Created on 12 Jan 2017  路  7Comments  路  Source: aksonov/react-native-router-flux

Sorry guys,

Maybe it's under my nose or maybe I'm missing something fundamental, but how do I configure the scene transition when using this library?

i.e. I call: Actions.newScene and I want it to float from the bottom instead of slide horizontally.

If anyone can point me in the right direction that would be much appreciated.

Thanks

Most helpful comment

Try direction='vertical' for the scene property. Hope it works for you.

All 7 comments

Try direction='vertical' for the scene property. Hope it works for you.

@IlyasAbdighni this did work for me. thank you!

@IlyasAbdighni What about sliding from left to right?
I have already tried with direction='left' and direction='right' ..

Also looking for some examples of this. Docs highlight properties but don't support any examples on how to add in custom transitions.

@mehdyMa for left to right try <Scene direction="leftToRight">

Seem like direction does not work anymore

2628

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sreejithr picture sreejithr  路  3Comments

maphongba008 picture maphongba008  路  3Comments

YouYII picture YouYII  路  3Comments

kirankalyan5 picture kirankalyan5  路  3Comments

booboothefool picture booboothefool  路  3Comments