Open ikoolik opened 5 years ago
Just to note, the return was removed recently in this pr https://github.com/jm-david/emoji-mart-vue/pull/42
I just found another PR #45 that also addresses the same issue but from a different angle (sorry, should've checked before creating my own)
Merging either #45 or #49 should fix the bug.
Imo, PR #45 would be better approach than this as the data object is already mutated thus returning it will make no sense and will just add extra overhead.
Issue https://github.com/jm-david/emoji-mart-vue/issues/48
In src/utils/emoji-index/nimble-emoji-index.js line 7, we assign the return value of the
uncompress(data)
call to thedata
variable. But the named function has no return value.Because of this, the headless search is not functional. This quick fix should fix the issue.