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))})))
|
||||
|
||||
(defn suggestion-container []
|
||||
(let [h (anim/create-value 0.1)]
|
||||
[container h
|
||||
[header h]
|
||||
[suggestions-view]
|
||||
[view {:height c/input-height}]]))
|
||||
(let [h (anim/create-value 0.1)
|
||||
command? (subscribe [:command?])]
|
||||
(when-not @command?
|
||||
[container h
|
||||
[header h]
|
||||
[suggestions-view]
|
||||
[view {:height c/input-height}]])))
|
||||
|
Loading…
x
Reference in New Issue
Block a user