From cfe0cb2c5d061413e66ff2ef4cfd781477175a4f Mon Sep 17 00:00:00 2001 From: Alexander Pantyuhov Date: Thu, 13 Oct 2016 11:11:58 +0300 Subject: [PATCH] no more bouncing in messages animation (#313) --- src/status_im/chat/views/message.cljs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/status_im/chat/views/message.cljs b/src/status_im/chat/views/message.cljs index 02e6260fb6..affdaf96b4 100644 --- a/src/status_im/chat/views/message.cljs +++ b/src/status_im/chat/views/message.cljs @@ -251,9 +251,8 @@ (let [to-value @to-value] (when (< 0 to-value) (anim/start - (anim/spring val {:toValue to-value - :friction 4 - :tension 10}) + (anim/timing val {:toValue to-value + :duration 250}) (fn [arg] (when (.-finished arg) (callback))))))))