Use 0.99-cliff in inputRange (#17)

This commit is contained in:
lintonye
2017-01-26 23:41:01 -08:00
committed by Eric Vicenti
parent c9a69b48ee
commit ddb2107acd

View File

@@ -140,7 +140,7 @@ function forFadeFromBottomAndroid(props: NavigationSceneRendererProps): Object {
}
const index = scene.index;
const inputRange = [index - 1, index, index + 1, index + 1];
const inputRange = [index - 1, index, index + 0.99, index + 1];
const height = layout.initHeight;
const opacity = position.interpolate({