Opened 9 years ago
Last modified 8 years ago
#13630 confirmed Bug
[IE11] Focus issues when the editor gets loaded
Reported by: | Irina | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | |
Keywords: | IBM, IE11 | Cc: | Satya Minnekanti, giogio, inga, Christophe Guillou |
Description
Steps to reproduce
- Open sample page
- Click inside 1st editor to get focus
- Click reset button
- Click inside the textarea (2nd editor)
Expected result
Textarea gets focus, cursor is visible
Actual result
Cursor is visible in the textarea on 3-4th click only. It's not always reproducible with nightly ckeditor.js, Step 4 has to be done quickly after reset button is pressed.
Other details (browser, OS, CKEditor version, installed plugins)
IE11
Attachments (1)
Change History (7)
Changed 9 years ago by
Attachment: | cksource_sample_page.html added |
---|
comment:1 Changed 9 years ago by
Version: | 4.5.2 → 4.4.8 |
---|
comment:2 Changed 9 years ago by
Status: | new → pending |
---|
comment:3 Changed 9 years ago by
Status: | pending → confirmed |
---|---|
Version: | 4.4.8 |
It's a browser issue. It works differently depending on where you click and what's inside that textarea. It's reproducible only in IE11 and as far as I can see, independently of CKEditor version.
Perhaps there's something CKEditor does that triggers this bug in IE11, but I don't have an idea how we could track this. The only way would be to strip pieces of code and check the TC every time, but that may be a week of work without any success. I would also propose checking if changing the code that destroys and initialises the editor could not help. Some timeout or whatever similar solution. Or moving focus to the textarea before destroying the editor.
I'm confirming this issue but without any concrete plan of working on it.
comment:4 Changed 9 years ago by
Summary: | IE11: Focus issues when editor gets loaded → IE11: Focus issues when the editor gets loaded |
---|
comment:5 Changed 9 years ago by
Summary: | IE11: Focus issues when the editor gets loaded → [IE11] Focus issues when the editor gets loaded |
---|
comment:6 Changed 8 years ago by
I might have found a little different problem with IE11, but will add it here as this page is found on google.
IE11 has somekind of bug with iframes and removing them from DOM. Similar issue with solution is here: https://bugs.jqueryui.com/ticket/9122
So lending the solution of setting src to "about:blank" fixes it for me:
beforeDestroy: function (event) { var iframe = event.editor.document.$.defaultView.frameElement; iframe.src = "about:blank"; },
FYI, another workaround was focusing some random input in the parent window.
I'm not sure if this is editor issue. OK, I have been able to reproduce this problem with your sample as well as with latest master but it looks to me more like the brwoser is not responding to clicks when CKEditor is destroyed/created. I'm also not sure what CKEditor might do to prevent this from happening.
NOTE: I have tried creating CKEditor once instance is destryed but results were the same.
@Reinmar - what do you think?