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.
7777npm install --save vue-advanced-chat
7878
7979# Using yarn
80- yarn add --save vue-advanced-chat
80+ yarn add vue-advanced-chat
8181
8282# Using CDN
8383< 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 {
6262 setTimeout (() => {
6363 this .addCustomStyling ()
6464
65- document
66- .querySelector (' emoji-picker' )
65+ this .$refs .emojiPicker .shadowRoot
6766 .addEventListener (' emoji-click' , ({ detail }) => {
6867 this .$emit (' add-emoji' , {
6968 unicode: detail .unicode
You can’t perform that action at this time.
0 commit comments