React-native-router-flux: Option to not move original scene when transitioning to a new one

Created on 27 Aug 2016  ·  3Comments  ·  Source: aksonov/react-native-router-flux

Version

  • react-native-router-flux v3.35.0
  • react-native v0.31

When transitioning to a new scene (I'm using float up from bottom, as this seems the closest to native Android transitions), it seems that the original scene "moves away" a bit before the next scene transitions in, creating an unappealing white border:

image
(Settings is animating in, the original scene seems to be receding back and creating a white border)

How can I keep the original scene where it is, and simply float the incoming scene up on top of it?

Most helpful comment

Additionally it looks like Navigator.SceneConfigs was a way of doing this, but it has been taken out. Any reason for that @aksonov? Thanks :)

All 3 comments

+1 the docs aren't clear on this. A lot of the issues that are open still have references to routes on them when we are upgraded to '' now.

Help would be appreciated!

Additionally it looks like Navigator.SceneConfigs was a way of doing this, but it has been taken out. Any reason for that @aksonov? Thanks :)

any update on this? I would too like to disable the 'receding back' animation of the scene

Was this page helpful?
0 / 5 - 0 ratings