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

[Firefox] Caret is stuck at the end of a link when pressing left arrow key quickly #889

Closed
Reinmar opened this issue Mar 11, 2018 · 1 comment
Labels
package:engine package:link resolution:invalid This issue is invalid (e.g. reports a non-existent bug or a by-design behavior). type:bug This issue reports a buggy (incorrect) behavior.

Comments

@Reinmar
Copy link
Member

Reinmar commented Mar 11, 2018

Is this a bug report or feature request? (choose one)

🐞 Bug report

💻 Version of CKEditor

latest master

📋 Steps to reproduce

  1. Open http://localhost:8125/ckeditor5-core/tests/manual/article.html
  2. Put selection at the end of the link, press right arrow key and type few letters.
  3. Start moving selection over the right link boundary using arrow keys. Press them quickly and multiple times each (e.g. 5x left, 5x right ).

✅ Expected result

The caret should move as expected – staying at the link boundary for two subsequent arrow key presses.

❎ Actual result

It sometimes happen that the selection won't move to the left – it's stuck at the right link boundary.

📃 Other details that might be useful

Make sure to press the arrow keys quite quickly. Don't press and hold.

Most likely, it's some timing issue. It's caused by ckeditor/ckeditor5-link#179 so, most likely, by the fact that we re-render the selection and put it in some odd space between two inline elements.

mar-11-2018 15-09-09

@Reinmar
Copy link
Member Author

Reinmar commented Mar 11, 2018

I decided to not merge ckeditor/ckeditor5-link#179, so this issue doesn't occur.

@Reinmar Reinmar closed this as completed Mar 11, 2018
@Reinmar Reinmar removed this from the iteration 15 milestone Mar 11, 2018
@Reinmar Reinmar added the resolution:invalid This issue is invalid (e.g. reports a non-existent bug or a by-design behavior). label Mar 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package:engine package:link resolution:invalid This issue is invalid (e.g. reports a non-existent bug or a by-design behavior). type:bug This issue reports a buggy (incorrect) behavior.
Projects
None yet
Development

No branches or pull requests

1 participant