needim / wdt-emoji-bundle

Slack like emoji picker with apple/ios, twitter/twemoji, google, emojione, facebook, messenger emoji support
http://ned.im/wdt-emoji-bundle
MIT License
419 stars 87 forks source link

Items in contenteditable div are sometimes set as next-to-last #39

Open lolgans opened 6 years ago

lolgans commented 6 years ago

Problem: Items in contenteditable div are sometimes set as next-to-last, even if the cursor was set at the end.

Reproduce:

Note: Seems not to happen for input fields.

Setup: Google-Chrome Version 60.0.3112.113 (Official Build) Ubuntu 16 (64-Bit)

needim commented 6 years ago

Oh yeah, we should update the caret position after emoji select 👍

tje3d commented 6 years ago

@needim fixed in https://github.com/needim/wdt-emoji-bundle/pull/45 with better approach