mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-04-24 04:25:34 +08:00
Use 0.99-cliff in inputRange (#17)
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user