Opened 13 years ago
Last modified 13 years ago
#8375 confirmed Bug
onfocus: Input text selection not cleared in Chrome
Reported by: | Kin-Hong Wong | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 3.0 |
Keywords: | Webkit VendorFix | Cc: |
Description
This problem only happens on Google Chrome.
I have a ckeditor on a page that also contains one or more input text fields. If I type something and select/highlight the words in one of the input text field, then click inside the ckeditor, you will notice the selection/highlight of the input text field is not cleared.
You can reproduce this behavior by going to ckeditor demo page (http://ckeditor.com/demo) using Google Chrome browser, type and select "ABC" in the "Search..." box, then click inside the ckeditor so it has the focus. You will see that "ABC" is still selected/highlighted.
Attachments (1)
Change History (5)
Changed 13 years ago by
Attachment: | selectNotCleared.png added |
---|
comment:1 Changed 13 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 Changed 13 years ago by
Resolution: | invalid |
---|---|
Status: | closed → reopened |
comment:3 Changed 13 years ago by
Status: | reopened → confirmed |
---|---|
Version: | 3.6.1 → 3.0 |
This works both ways. When you select something inside editor, then click outside it the grayed selection (shadow of selection) will also stay. This may give false impression that text is still selected and you can copy or delete it.
Of course when doing so it won't work. What is more backspace key will work as back button.
comment:4 Changed 13 years ago by
Keywords: | Webkit VendorFix added |
---|
This is something that Webkit will have to fix on their side.
Link to ticket on Webkit - https://bugs.webkit.org/show_bug.cgi?id=73294.
CKEditor's contents area is new html document placed inside iframe.
If you place input filed and iframe in one page and apply the above TC you will get the same results. This is just how Webkit reacts and is not CKEditor's bug.