question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

emojiIndex not working

See original GitHub issue

Is anyone else able to pull results using something like the following?

import { emojiIndex } from 'emoji-mart-vue'

emojiIndex.search('christmas')

I don’t get any errors but it returns an empty array. I’ve also tried the custom data method using:

import data from 'emoji-mart-vue/data/messenger'
import { NimbleEmojiIndex } from 'emoji-mart-vue'

let emojiIndex = new NimbleEmojiIndex(data)
emojiIndex.search('christmas')

…but same issue.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:3
  • Comments:7

github_iconTop GitHub Comments

1reaction
ikoolikcommented, Feb 6, 2019

I have found the issue in the lib sources and create a Pull Request. Hope it will be merged soon 🙏

0reactions
Tarassssscommented, Oct 21, 2019

Have the same issue, @andresbravog’s works for me but in that case we load 2 identical emoji sets and that’s why it is so slow! Has anybody found the way to fix that??

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to use the emoji-mart.emojiIndex.search function ... - Snyk
Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues...
Read more >
Untitled
```js import { emojiIndex } from 'emoji-mart' ... name and keywords Not only does **Emoji Mart** return more results than most emoji picker,...
Read more >
emoji-mart-vue-fast - npm
Start using emoji-mart-vue-fast in your project by running `npm i ... Do not create EmojiIndex globally, before it was loaded (along with ...
Read more >
Code coverage report for app/assets/javascripts/emoji/index.js
... cross domain problems with JSON const { data } = await axios.get( `${gon.relative_url_root || ''}/-/emojis/${EMOJI_VERSION}/emojis.json`, ); window.
Read more >
Emoji - PyMdown Extensions Documentation
Not all of the provided output formats will work for each emoji index, but there are a few that should work for all...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found