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


Steps to reproduce

  1. Open sample page
  2. Click inside 1st editor to get focus
  3. Click reset button
  4. 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)


Attachments (1)

cksource_sample_page.html (768 bytes) - added by Irina 9 years ago.

Download all attachments as: .zip

Change History (7)

Changed 9 years ago by Irina

Attachment: cksource_sample_page.html added

comment:1 Changed 9 years ago by Irina


comment:2 Changed 9 years ago by Jakub Ś

Status: newpending

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.

CKEDITOR.on( 'instanceDestroyed', function( event ){		
	textBox = CKEDITOR.replace('editor1', {width: '35%'});

@Reinmar - what do you think?

comment:3 Changed 9 years ago by Piotrek Koszuliński

Status: pendingconfirmed
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 Anna Tomanek

Summary: IE11: Focus issues when editor gets loadedIE11: Focus issues when the editor gets loaded

comment:5 Changed 9 years ago by Anna Tomanek

Summary: IE11: Focus issues when the editor gets loaded[IE11] Focus issues when the editor gets loaded

comment:6 Changed 8 years ago by madis

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:

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.

Last edited 8 years ago by madis (previous) (diff)
Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy