joeattardi / picmo

JavaScript emoji picker. Any app, any framework.
https://picmojs.com
MIT License
1.19k stars 117 forks source link

Initial emoji missing #267

Closed 3nematix closed 1 year ago

3nematix commented 1 year ago

const picker = window.createPicker({ rootElement, emojisPerRow: 13, visibleRows: 4, emojiSize: '1.45rem', showCategoryTabs:false, className: 'my-picker', showPreview:true, initialCategory: "people-body", initialEmoji: "👋",});

joeattardi commented 1 year ago

You didn't give any additional details so I am assuming you're using the latest version of PicMo.

Are you using the UMD version or with a bundler using npm?

I tried your code in the following CodeSandbox and it seems to be working as expected:

https://codesandbox.io/s/picmo-initial-emoji-test-7ojund?file=/src/index.js

Maybe there is a misunderstanding about the functionality? What is the behavior you're expecting to see?

joeattardi commented 1 year ago

No response for 3 weeks, closing issue.