From 769d974effd38295d313eee7948910b8d7a3341e Mon Sep 17 00:00:00 2001 From: Ibrahem Khalil Date: Tue, 20 Jun 2023 19:50:25 +0300 Subject: [PATCH] Make reactions row scrollable (#16298) --- .../contexts/chat/messages/content/reactions/view.cljs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/status_im2/contexts/chat/messages/content/reactions/view.cljs b/src/status_im2/contexts/chat/messages/content/reactions/view.cljs index 495fee9186..7f0ee49546 100644 --- a/src/status_im2/contexts/chat/messages/content/reactions/view.cljs +++ b/src/status_im2/contexts/chat/messages/content/reactions/view.cljs @@ -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}