Make reactions row scrollable (#16298)

This commit is contained in:
Ibrahem Khalil 2023-06-20 19:50:25 +03:00 committed by GitHub
parent 66cd3edf7f
commit 769d974eff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 4 deletions

View File

@ -40,8 +40,10 @@
(let [reactions (rf/sub [:chats/message-reactions message-id chat-id])]
[:<>
(when (seq reactions)
[rn/view
{:style {:margin-left 52
[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]