Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

emojiIndex not working #48

Open
navieko opened this issue Jan 24, 2019 · 7 comments
Open

emojiIndex not working #48

navieko opened this issue Jan 24, 2019 · 7 comments

Comments

@navieko
Copy link

navieko commented Jan 24, 2019

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.

@ikoolik
Copy link

ikoolik commented Feb 6, 2019

I experience the same issue
emojiIndex.search always returns an empty list 🤔

@ikoolik
Copy link

ikoolik commented Feb 6, 2019

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

@andresbravog
Copy link

Please, can we merge and solve this issue so we all can use the original package.

@kg-bot
Copy link

kg-bot commented Mar 9, 2019

Yeah, it is not working, please fix this as soon as possible, I need this so I can get original image and add that into background, or is there any other way we can get "real" styled emoticon instead of black "text-like" emoticons which are not very fancy or special at all

@andresbravog
Copy link

@kg-bot My approach here was to load wmojiIndex from the original emoji-mart package.

This is not optimal as we load yet another package but solves the issue for now.

import { emojiIndex } from 'emoji-mart'

emojiIndex.search('christmas')

@kg-bot
Copy link

kg-bot commented Mar 9, 2019

Found another package until this is solved, also in that package I get original image path which I can use and get "real" emoji instead just black-white image.

Couldn't find any way to get original image in this package, anyone who knows this I would be grateful to hear it.

@Tarasssss
Copy link

Tarasssss commented 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??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants