From 081a4161034ce6d748a11e260b7a9429c65aab9d Mon Sep 17 00:00:00 2001
From: tusooa <tusooa@kazv.moe>
Date: Mon, 2 Jan 2023 13:42:09 -0500
Subject: Calculate display count from width

---
 src/components/emoji_picker/emoji_picker.vue | 1 +
 1 file changed, 1 insertion(+)

(limited to 'src/components/emoji_picker/emoji_picker.vue')

diff --git a/src/components/emoji_picker/emoji_picker.vue b/src/components/emoji_picker/emoji_picker.vue
index 5d8b0431..ae4683f5 100644
--- a/src/components/emoji_picker/emoji_picker.vue
+++ b/src/components/emoji_picker/emoji_picker.vue
@@ -82,6 +82,7 @@
             :items="emojiItems"
             :emit-update="true"
             @update="onScroll"
+            @visible="recalculateItemPerRow"
           >
             <template #default="{ item: group, index, active }">
               <DynamicScrollerItem
-- 
cgit v1.2.3-70-g09d2

