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

Can't keyboard nav around a custom element in a div that has contenteditable="true" #601

Closed
edeustace opened this issue Jul 3, 2014 · 3 comments
Assignees
Labels

Comments

@edeustace
Copy link

If a custom element is within a contenteditable div you can't right arrow key the caret from before it to after it.

The caret stops moving once you get to the start of the custom element.
See:
http://jsbin.com/xuqafe/4/edit?html,output

On chrome: 38.0.2081.0 canary Mac

In Firefox the behaviour is different. You can keyboard nav through the custom element, you can also edit the contents of the custom element, I'm guessing this is wrong?

@sorvell
Copy link
Contributor

sorvell commented Aug 12, 2014

@azakus would you mind investigating? Sounds like this is likely a Chrome issue.

@dfreedm
Copy link
Member

dfreedm commented Aug 12, 2014

This is actually a chrome issue that is as old as the hills: https://code.google.com/p/chromium/issues/detail?id=234038.

It looks like the editor caret is stuck when it hits shadowdom.

@tjsavage tjsavage added a11y and removed a11y labels Aug 21, 2014
@tjsavage
Copy link
Contributor

Since this looks to be a Chrome issue, closing here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants