Opened 11 years ago
Last modified 10 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 )
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
- open any sample with CKEditor (i.e. samples/replacebyclass.html)
- using
Source
button set html to:<p><a href="#foo">bar</a></p>
- return to wysiwyg mode
- double click link bar
- 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:
- Tested in Opera (blink), IE10, FF 27.0.1 @ Win8
- Issue was also present in 4.0 release (didn't check earlier releases)
Change History (3)
comment:1 Changed 11 years ago by
Description: | modified (diff) |
---|---|
Summary: | Can't close anchor dialog with esc key. → Invalid focus in close anchor dialog |
comment:2 Changed 11 years ago by
Status: | new → confirmed |
---|---|
Summary: | Invalid focus in close anchor dialog → Invalid focus in link to anchor dialog |
comment:3 Changed 10 years ago by
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.
Updated desc, and title since origin of the issue is bad focus at dialog init.