Opened 10 years ago

Last modified 9 years ago

#11589 confirmed Bug

Invalid focus in link to anchor dialog

Reported by: Marek Lewandowski Owned by:
Priority: Normal Milestone:
Component: UI : Dialogs Version: 3.2
Keywords: Cc:

Description (last modified by Marek Lewandowski)

Due to invalid focus in anchor dialog we can experience few issues. You're not able to:

  • focus other fields by pressing tab
  • close anchor dialog with esc
  1. open any sample with CKEditor (i.e. samples/replacebyclass.html)
  2. using Source button set html to:
    <p><a href="#foo">bar</a></p>
    
  3. return to wysiwyg mode
  4. double click link bar
  5. press esc key

Expected result:
Dialog should be closed (as it is for typical links)

Current result:
It's not closed unless you'll focus any input control inside of it.

additional info:

  1. Tested in Opera (blink), IE10, FF 27.0.1 @ Win8
  2. Issue was also present in 4.0 release (didn't check earlier releases)

Change History (3)

comment:1 Changed 10 years ago by Marek Lewandowski

Description: modified (diff)
Summary: Can't close anchor dialog with esc key.Invalid focus in close anchor dialog

Updated desc, and title since origin of the issue is bad focus at dialog init.

comment:2 Changed 10 years ago by Piotrek Koszuliński

Status: newconfirmed
Summary: Invalid focus in close anchor dialogInvalid focus in link to anchor dialog

comment:3 Changed 9 years ago by Jakub Ś

Version: 3.2

This problem can be reproduced from CKEditor 3.2. Opening dialogs with double-click is possible since CKE 3.3 but in those older versions you can reproduce this problem by selecting link and opening dialog with toolbar button.

Until version 3.1.1 the select field was (for this particular example) focused when opening dialog what allowed closing it with Esc key.

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