move keepOpen to picker
This commit is contained in:
parent
296a6fa4e3
commit
8fa1f0b50d
2 changed files with 3 additions and 2 deletions
|
|
@ -140,6 +140,9 @@ const EmojiPicker = {
|
|||
},
|
||||
onEmoji (emoji) {
|
||||
const value = emoji.imageUrl ? `:${emoji.displayText}:` : emoji.replacement
|
||||
if (!this.keepOpen) {
|
||||
this.$refs.popover.hidePopover()
|
||||
}
|
||||
this.$emit('emoji', { insertion: value, keepOpen: this.keepOpen })
|
||||
},
|
||||
onScroll (e) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue