aboutsummaryrefslogtreecommitdiff
path: root/src/components/emoji_picker
diff options
context:
space:
mode:
authorHJ <30-hj@users.noreply.git.pleroma.social>2024-09-04 14:19:56 +0000
committerHJ <30-hj@users.noreply.git.pleroma.social>2024-09-04 14:19:56 +0000
commit176dacb6ba6de9bf47798ff1ed56f0fd84f2ff68 (patch)
treef3ee968faf1b8e6c75f3c0d4dc4b93158eef493b /src/components/emoji_picker
parentbf0008594622acc31af6f43607c4d89f1c19d287 (diff)
parent0041faaed8d79a8637ca2c371db2d3b1ff5ac37f (diff)
Merge branch 'mergeback-master' into 'develop'
Merge master back into develop See merge request pleroma/pleroma-fe!1934
Diffstat (limited to 'src/components/emoji_picker')
-rw-r--r--src/components/emoji_picker/emoji_picker.js4
-rw-r--r--src/components/emoji_picker/emoji_picker.vue1
2 files changed, 4 insertions, 1 deletions
diff --git a/src/components/emoji_picker/emoji_picker.js b/src/components/emoji_picker/emoji_picker.js
index d71bc1bb..9ea5c877 100644
--- a/src/components/emoji_picker/emoji_picker.js
+++ b/src/components/emoji_picker/emoji_picker.js
@@ -150,7 +150,9 @@ const EmojiPicker = {
},
showPicker () {
this.$refs.popover.showPopover()
- this.onShowing()
+ this.$nextTick(() => {
+ this.onShowing()
+ })
},
hidePicker () {
this.$refs.popover.hidePopover()
diff --git a/src/components/emoji_picker/emoji_picker.vue b/src/components/emoji_picker/emoji_picker.vue
index 7c36deaa..a3dc8f9e 100644
--- a/src/components/emoji_picker/emoji_picker.vue
+++ b/src/components/emoji_picker/emoji_picker.vue
@@ -89,6 +89,7 @@
class="emoji-groups"
:class="groupsScrolledClass"
:min-item-size="minItemSize"
+ :buffer="minItemSize"
:items="emojiItems"
:emit-update="true"
@update="onScroll"