In react-native-router-flux, is it possible to simulate the standard Android transition where the navbar does NOT animate in from right to left when a new screen is added to the navigator stack via type PUSH
? I'm not talking about using a type of REPLACE
or RESET
as those don't allow you to go back to original scene. The behavior I want is that the new view fades in (which I'm able to do by setting the animation
prop), and the navbar is simply replaced with new one without any animation - as it does with REPLACE
and RESEST
. However, I haven't been able to figure out how to prevent the right to left animation on a PUSH transition.
Here's my code:
<Scene
key="gray"
component={GrayScreen}
title="Gray"
animation={(Platform.OS === 'ios') ? '' : 'fade'}
hideBackImage={!(Platform.OS === 'ios')}
/>