focus search input when opening emoji picker
This commit is contained in:
parent
d2fabe1a71
commit
692342a77f
3 changed files with 2 additions and 8 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue