Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
This commit is contained in:
alwxndr 2018-02-19 15:18:07 +01:00 committed by Andrey Shovkoplyas
parent 5280f3d9a0
commit 44b10850ed
No known key found for this signature in database
GPG Key ID: EAAB7C8622D860A4
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@
to-change-height (if (= to-changed-height :max)
(input-utils/max-container-area-height @chat-input-margin @layout-height)
to-changed-height)
to-value (or to-change-height (or height @to-default-height))]
to-value (or to-change-height height @to-default-height)]
(re-frame/dispatch [:set :expandable-view-height-to-value to-value])
(animation/start
(animation/spring anim-value {:toValue to-value