jm-david / emoji-mart-vue

One component to pick them all 👊🏼
https://jm-david.github.io/emoji-mart-vue
BSD 3-Clause "New" or "Revised" License
603 stars 82 forks source link

'this.emojiData is null' when setting Picker[emoji=''] #66

Open joallard opened 4 years ago

joallard commented 4 years ago

From the docs:

emoji   department_store The emoji shown when no emojis are hovered, set to an empty string to show nothing

Given:

<picker emoji='' set='emojione' title=''></picker>

Then:

[Vue warn]: Error in render: "TypeError: this.emojiData is null"

found in

---> <NimbleEmoji> at src/components/emoji/nimbleEmoji.vue
       <Preview> at src/components/preview.vue
         <NimblePicker> at src/components/picker/nimblePicker.vue
           <Root> vue.js:634:17

+ No emoji preview is shown at all

Other point: No usage instructions for the browser. I've been tiptoeing around for 30 minutes.

Now I'm trying to remove advertisements which is the default from this plugin. I would suggest removing advertisements as the default.