Changes between Initial Version and Version 1 of Ticket #7175, comment 16


Ignore:
Timestamp:
Jun 16, 2014, 12:25:33 PM (10 years ago)
Author:
Piotrek Koszuliński
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7175, comment 16

    initial v1  
    1 I spent few hours on debugging #11420 (it's in fact a little bit different case because it does not involve iframe) and I don't have any good news. Focus implementation for modal dialogs is terrible and based on what I saw I predict no way to make it work.
     1I spent few hours debugging #11420 (it's in fact a little bit different case because it does not involve iframe) and I don't have any good news. Focus implementation for modal dialogs is terrible and based on what I saw I predict no way to make it work.
    22
    33The reason is that most editor features cause the entire modal window to magically lose focus or maybe, because it's hard to say what's really happening, that the editable is forcibly refocused by browser. Undo/redo, dialogs, panels (context menu, float panels, etc.), clicking below body - all them make the modal window blinking. I've got no idea where this blur comes from and where the focus escapes. My theory is that when any element inside a modal window loses focus IE executes some bizarre algorithm to restore focus in that modal window. This may be related to the fact that modal window is a special kind of window that should never lose focus and perhaps IE implements this rule in a poor way.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy