mirror of
https://github.com/status-im/status-react.git
synced 2025-01-14 04:55:13 +00:00
Merge pull request #342 from status-im/bug/#313
No more bouncing in messages animation (#313) Former-commit-id: 5a68b1d646606d0b539952f4c992292f87d42e6e
This commit is contained in:
commit
f1748f3cbf
@ -273,9 +273,8 @@
|
|||||||
(let [to-value @to-value]
|
(let [to-value @to-value]
|
||||||
(when (< 0 to-value)
|
(when (< 0 to-value)
|
||||||
(anim/start
|
(anim/start
|
||||||
(anim/spring val {:toValue to-value
|
(anim/timing val {:toValue to-value
|
||||||
:friction 4
|
:duration 250})
|
||||||
:tension 10})
|
|
||||||
(fn [arg]
|
(fn [arg]
|
||||||
(when (.-finished arg)
|
(when (.-finished arg)
|
||||||
(callback))))))))
|
(callback))))))))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user