File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
src/components/EmojiPickerContainer Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ This component is only compatible with Vue `2.6.14` and above.
77
77
npm install --save vue-advanced-chat
78
78
79
79
# Using yarn
80
- yarn add --save vue-advanced-chat
80
+ yarn add vue-advanced-chat
81
81
82
82
# Using CDN
83
83
< script src=" https://cdn.jsdelivr.net/npm/vue-advanced-chat@0.8.8/dist/vue-advanced-chat.min.js" ></script>
Original file line number Diff line number Diff line change @@ -62,8 +62,7 @@ export default {
62
62
setTimeout (() => {
63
63
this .addCustomStyling ()
64
64
65
- document
66
- .querySelector (' emoji-picker' )
65
+ this .$refs .emojiPicker .shadowRoot
67
66
.addEventListener (' emoji-click' , ({ detail }) => {
68
67
this .$emit (' add-emoji' , {
69
68
unicode: detail .unicode
You can’t perform that action at this time.
0 commit comments