mervick / emojionearea

Emoji Picker Plugin for jQuery
https://jsfiddle.net/mervick/1v03Lqnu/765/
MIT License
953 stars 257 forks source link

Long loading #399

Open AlexanderKat opened 4 years ago

AlexanderKat commented 4 years ago

Hello, I use this plugin for post comments. I output 30 posts, and it turns out that 30 lists of emoji are rendered. The page takes a very long time to load. How can this process be accelerated?) Maybe there is a way to render the picker on the first click on the smile?)

Thanks you!

sanmiguel2019 commented 4 years ago

That's the only thing that I don't like in emojionearea. It loads very slow. The page loads and then after some 3 seconds textarea gets ready and appears smiley icon.

carpii commented 4 years ago

If you're creating 30 separate EmojiOneArea's then sure, it's going to be slow.

Create it on demand, when the user actually tries to edit something.