Updated animation to match fab

This commit is contained in:
Arnaud Vergnet 2020-04-18 16:58:07 +02:00
parent 7f5ade5999
commit 8e7b213b4f

View file

@ -57,9 +57,9 @@ class AnimatedBottomBar extends React.Component<Props, State> {
onHideChange = (shouldHide: boolean) => {
if (this.ref.current) {
if (shouldHide)
this.ref.current.fadeOutDown(600);
this.ref.current.bounceOutDown(1000);
else
this.ref.current.fadeInUp(500);
this.ref.current.bounceInUp(1000);
}
}