-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Cannot use up and down arrow key after adding a link #1501
Comments
Is it a regression? |
Same in 11.1.1. |
Disabling autocomplete for the link input solves the issue but it's a workaround, not a fix. |
FF has some problems with blur when focused element is removed from DOM (https://github.com/ckeditor/ckeditor5-link/issues/193). |
It's possible to reproduce this issue outside of the CKE5. When focused input is removed from the DOM then focus partially stays in this removed input?! When there is an autocomplete it takes control over the arrow keys. I'm afraid it won't be possible to fix it without some hacks. |
It turns out the fix is very simple. All we need to do is blur the input (focus the other element) before removing it. |
We should fix it also for the |
Fix: Improved the focus management when removing the link form from the DOM. Closes ckeditor/ckeditor5#1501.
Is this a bug report or feature request? (choose one)
🐞 Bug report
💻 Version of CKEditor
https://ckeditor.com/docs/ckeditor5/latest/examples/builds/classic-editor.html
as of 1 february 2019.
📋 Steps to reproduce
✅ Expected result
up goes up, down goes down
❎ Actual result
up and down keys have no effect
📃 Other details that might be useful
firefox 60.4.0esr (64 bits)
The text was updated successfully, but these errors were encountered: