From 522f7412544404d3d79f9fe70a1d9cec5c96eac3 Mon Sep 17 00:00:00 2001 From: "satyajit.happy" Date: Mon, 8 Jul 2019 02:59:55 +0200 Subject: [PATCH] fix: tweak transition spec to prevent jumping effect --- src/TransitionConfigs/TransitionSpecs.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/TransitionConfigs/TransitionSpecs.tsx b/src/TransitionConfigs/TransitionSpecs.tsx index 14dab85c4..2f3c1cec4 100644 --- a/src/TransitionConfigs/TransitionSpecs.tsx +++ b/src/TransitionConfigs/TransitionSpecs.tsx @@ -39,9 +39,6 @@ export const WipeFromBottomAndroidSpec: TransitionSpec = { duration: 425, // This is super rough approximation of the path used for the curve by android // See http://androidxref.com/9.0.0_r3/xref/frameworks/base/core/res/res/interpolator/fast_out_extra_slow_in.xml - easing: t => - Easing.bezier(0.9, 0.06, 0.57, 0)( - Easing.bezier(0.06, 0.94, 0.22, 1.02)(t) - ), + easing: Easing.bezier(0.35, 0.45, 0, 1), }, };