Opened 11 years ago

Last modified 11 years ago

#10092 confirmed Bug

Focus lost on IE when reopening in an iframe with a jQuery onload listener

Reported by: Tuomas Salo Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: CantFix IE Cc:


CKEditor doesn't receive the focus with a mouse click in a quite specific case. The editor area seems to only be refocusable by clicking on a toolbar button.

  • the editor has been loaded in an iframe
  • there is an overlay behind the iframe
  • the iframe has any jQuery .on('load') binding
  • the iframe has already been created and destroyed
  • on IE8-10.

See the test case here:

Download the test case here:

Attachments (1) (1.3 KB) - added by Jakub Ś 11 years ago.

Download all attachments as: .zip

Change History (3)

comment:1 Changed 11 years ago by Jakub Ś

Keywords: CantFix IE added
Status: newconfirmed
Version: 3.6.6 (SVN - trunk)


This isn't CKEditor issue but jQuery issue. Please try again your TC but this time comment CKEditor code:

/*CKEDITOR.replace('editor', {
		  xcustomConfig: ''

You will get the same result with plain textarea.

NOTE: we have another can't fix issue for jQuery like #10081. Perhaps new release will fix this problem as well. If not then @naapuri you should report your bug to jQuery (you can/perhaps should describe both CKEditor and plain textarea).

Last edited 11 years ago by Jakub Ś (previous) (diff)

comment:2 Changed 11 years ago by Jakub Ś

#10081 which links to to jquery bug has solution for input fileds only. It doesn't fix this one. It would be hard because fix is in jQuery UI and here we are dealing with jQuery only.

I attachnig sample pages for this issue so that we didn't loos them. Anyway this is strange that load event blocks in some way elements in IE

// This is needed to reproduce the bug!
$popupIframe.on('load', function() {});		

Changed 11 years ago by Jakub Ś

Attachment: added
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