mirror of
https://github.com/status-im/status-react.git
synced 2025-01-11 11:34:45 +00:00
fix suggestions flickering
This commit is contained in:
parent
c97fdbe8c5
commit
3e7bd39ed3
@ -119,8 +119,10 @@
|
|||||||
(into [animated-view {:style (st/container h)}] elements))})))
|
(into [animated-view {:style (st/container h)}] elements))})))
|
||||||
|
|
||||||
(defn suggestion-container []
|
(defn suggestion-container []
|
||||||
(let [h (anim/create-value 0.1)]
|
(let [h (anim/create-value 0.1)
|
||||||
[container h
|
command? (subscribe [:command?])]
|
||||||
[header h]
|
(when-not @command?
|
||||||
[suggestions-view]
|
[container h
|
||||||
[view {:height c/input-height}]]))
|
[header h]
|
||||||
|
[suggestions-view]
|
||||||
|
[view {:height c/input-height}]])))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user