fix Jump to button not responding in chat after app returns from background (#17085)
This commit is contained in:
parent
5148a3c748
commit
89d1bd3f6a
|
@ -116,6 +116,9 @@
|
|||
(reanimated/apply-animations-to-style
|
||||
{:transform [{:translate-y translate-y}]
|
||||
:opacity opacity}
|
||||
{:position :absolute
|
||||
:top 0
|
||||
:align-self :center}))
|
||||
{:z-index 1}))
|
||||
|
||||
(def scroll-to-bottom-button
|
||||
{:position :absolute
|
||||
:right 0
|
||||
:left 0})
|
||||
|
|
|
@ -48,10 +48,10 @@
|
|||
:label (i18n/label :t/jump-to)
|
||||
:style {:align-self :center}}}
|
||||
{}]]
|
||||
[quo/floating-shell-button
|
||||
(when @messages.list/show-floating-scroll-down-button
|
||||
{:scroll-to-bottom {:on-press messages.list/scroll-to-bottom}})
|
||||
{}]]))
|
||||
(when @messages.list/show-floating-scroll-down-button
|
||||
[quo/floating-shell-button
|
||||
{:scroll-to-bottom {:on-press messages.list/scroll-to-bottom}}
|
||||
style/scroll-to-bottom-button])]))
|
||||
|
||||
(defn shell-button
|
||||
[state animations subs]
|
||||
|
|
Loading…
Reference in New Issue