From 01656c3222fcf4eb4f5a02a4d2bb1d1c0db189f8 Mon Sep 17 00:00:00 2001 From: Aleksander Westergaard Karlsen <aleksawk@stud.ntnu.no> Date: Sat, 14 Nov 2020 15:17:24 +0100 Subject: [PATCH] #5 Add bounce animation --- components/Bars/SortBar.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/Bars/SortBar.tsx b/components/Bars/SortBar.tsx index 814f585..e137fce 100644 --- a/components/Bars/SortBar.tsx +++ b/components/Bars/SortBar.tsx @@ -121,6 +121,8 @@ function SortBar(props: Props) { <Modal isVisible={props.visible} swipeDirection="down" + animationIn="bounceInUp" + animationInTiming={800} onSwipeComplete={() => { props.toggleVisible(false); }} -- GitLab