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

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

Open
lolgans opened this issue Oct 17, 2017 · 2 comments
Open

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

lolgans opened this issue Oct 17, 2017 · 2 comments

Comments

@lolgans
Copy link
Contributor

lolgans commented Oct 17, 2017

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

Reproduce:

  • Go to https://ned.im/wdt-emoji-bundle/#apple
  • Select the contenteditable div
  • Set the cursor to the right end of the line
  • Select multiple Emojis
  • Notice that your last selected emoji is the next-to-last item in your div

Note:
Seems not to happen for input fields.

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

@needim
Copy link
Owner

needim commented Oct 17, 2017

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

@tje3d
Copy link

tje3d commented May 6, 2018

@needim fixed in #45 with better approach

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

3 participants