focus search input when opening emoji picker

This commit is contained in:
Henry Jameson 2022-10-10 20:11:04 +03:00
commit 692342a77f
3 changed files with 2 additions and 8 deletions

View file

@ -245,6 +245,7 @@ const EmojiPicker = {
this.filteredEmojiGroups = this.getFilteredEmojiGroups()
if (!oldContentLoaded) {
this.$nextTick(() => {
this.$refs.search.focus()
if (this.defaultGroup) {
this.highlight(this.defaultGroup)
}