Don't load emoji picker as default for performance
This commit is contained in:
parent
8d45ab659c
commit
838a9b1dd8
|
@ -38,7 +38,7 @@
|
||||||
<el-button type="text" class="emoji-selector" @click="toggleEmojiPicker">
|
<el-button type="text" class="emoji-selector" @click="toggleEmojiPicker">
|
||||||
<icon name="regular/smile" scale="1.2"></icon>
|
<icon name="regular/smile" scale="1.2"></icon>
|
||||||
</el-button>
|
</el-button>
|
||||||
<div v-show="openEmojiPicker" class="emoji-picker">
|
<div v-if="openEmojiPicker" class="emoji-picker">
|
||||||
<picker
|
<picker
|
||||||
set="emojione"
|
set="emojione"
|
||||||
:autoFocus="true"
|
:autoFocus="true"
|
||||||
|
@ -127,7 +127,7 @@ export default {
|
||||||
})
|
})
|
||||||
} else if (oldState && !newState) {
|
} else if (oldState && !newState) {
|
||||||
this.closeSuggest()
|
this.closeSuggest()
|
||||||
this.openEmojiPicker = false
|
this.hideEmojiPicker()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue