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
|
(reanimated/apply-animations-to-style
|
||||||
{:transform [{:translate-y translate-y}]
|
{:transform [{:translate-y translate-y}]
|
||||||
:opacity opacity}
|
:opacity opacity}
|
||||||
{:position :absolute
|
{:z-index 1}))
|
||||||
:top 0
|
|
||||||
:align-self :center}))
|
(def scroll-to-bottom-button
|
||||||
|
{:position :absolute
|
||||||
|
:right 0
|
||||||
|
:left 0})
|
||||||
|
|
|
@ -48,10 +48,10 @@
|
||||||
:label (i18n/label :t/jump-to)
|
:label (i18n/label :t/jump-to)
|
||||||
:style {:align-self :center}}}
|
:style {:align-self :center}}}
|
||||||
{}]]
|
{}]]
|
||||||
[quo/floating-shell-button
|
(when @messages.list/show-floating-scroll-down-button
|
||||||
(when @messages.list/show-floating-scroll-down-button
|
[quo/floating-shell-button
|
||||||
{:scroll-to-bottom {:on-press messages.list/scroll-to-bottom}})
|
{:scroll-to-bottom {:on-press messages.list/scroll-to-bottom}}
|
||||||
{}]]))
|
style/scroll-to-bottom-button])]))
|
||||||
|
|
||||||
(defn shell-button
|
(defn shell-button
|
||||||
[state animations subs]
|
[state animations subs]
|
||||||
|
|
Loading…
Reference in New Issue