mirror of
https://github.com/status-im/status-react.git
synced 2025-01-11 11:34:45 +00:00
Make reactions row scrollable (#16298)
This commit is contained in:
parent
66cd3edf7f
commit
769d974eff
@ -40,10 +40,12 @@
|
||||
(let [reactions (rf/sub [:chats/message-reactions message-id chat-id])]
|
||||
[:<>
|
||||
(when (seq reactions)
|
||||
[rn/view
|
||||
{:style {:margin-left 52
|
||||
:margin-bottom 12
|
||||
:flex-direction :row}}
|
||||
[rn/scroll-view
|
||||
{:shows-horizontal-scroll-indicator false
|
||||
:horizontal true
|
||||
:style {:margin-left 52
|
||||
:margin-bottom 12
|
||||
:flex-direction :row}}
|
||||
(for [{:keys [own emoji-id quantity emoji-reaction-id]
|
||||
:as emoji-reaction} reactions]
|
||||
^{:key emoji-reaction}
|
||||
|
Loading…
x
Reference in New Issue
Block a user