This commit is contained in:
Henry Jameson 2024-06-26 02:01:26 +03:00
parent 868119679f
commit f25dafb049

View file

@ -106,11 +106,6 @@ const EmojiPicker = {
} }
}, },
inject: ['popoversZLayer'], inject: ['popoversZLayer'],
mounted () {
this.$nextTick(() => {
this.updateEmojiSize()
})
},
data () { data () {
return { return {
keyword: '', keyword: '',
@ -249,6 +244,7 @@ const EmojiPicker = {
onShowing () { onShowing () {
const oldContentLoaded = this.contentLoaded const oldContentLoaded = this.contentLoaded
this.recalculateItemPerRow() this.recalculateItemPerRow()
this.updateEmojiSize()
this.$nextTick(() => { this.$nextTick(() => {
this.$refs.search.focus() this.$refs.search.focus()
}) })