Skip to content
This repository was archived by the owner on Feb 25, 2020. It is now read-only.

Commit 3f5b903

Browse files
committed
fix: tweak transition spec to prevent jumping effect
1 parent f04b9bf commit 3f5b903

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/TransitionConfigs/TransitionSpecs.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,6 @@ export const WipeFromBottomAndroidSpec: TransitionSpec = {
3939
duration: 425,
4040
// This is super rough approximation of the path used for the curve by android
4141
// See http://androidxref.com/9.0.0_r3/xref/frameworks/base/core/res/res/interpolator/fast_out_extra_slow_in.xml
42-
easing: t =>
43-
Easing.bezier(0.9, 0.06, 0.57, 0)(
44-
Easing.bezier(0.06, 0.94, 0.22, 1.02)(t)
45-
),
42+
easing: Easing.bezier(0.35, 0.45, 0, 1),
4643
},
4744
};

0 commit comments

Comments
 (0)