Opened 13 years ago
Last modified 13 years ago
#8138 confirmed Bug
Arrow keys stop working after hide-show cycle
Reported by: | Paweł | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 3.3 |
Keywords: | Firefox | Cc: |
Description
This bug is similar to http://dev.ckeditor.com/ticket/6788.
This happens when you use CKEditor in tab elements. After hide & show CKeditor I can't move cursor with arrow buttons.
To reproduce the bug go into online demo and type the following into your javascript console:
$('.demoInside').hide(); $('.demoInside').show();
Place your cursor and try to move left / right using the arrow keys.
Firefox 5 (Win7)
Attachments (1)
Change History (8)
comment:1 Changed 13 years ago by
Keywords: | Firefox5 added; cursor disappears lost focus removed |
---|---|
Status: | new → confirmed |
Version: | 3.6.1 → 3.3 |
Changed 13 years ago by
Attachment: | Desktop.zip added |
---|
comment:2 Changed 13 years ago by
I had today a similar problem (but due to a change setting position:relative) and I've filed this bug in Mozilla: https://bugzilla.mozilla.org/show_bug.cgi?id=682712
comment:3 Changed 13 years ago by
Keywords: | Firefox added; Firefox5 removed |
---|
In Firefox 9 if you execute the below code you will get the same result:
document.getElementById( "cke_editor1" ).style.position = "absolute";
comment:6 Changed 13 years ago by
Do you guys have any plan to fix this? Not all the users have FF11 installed and in dynamic page with multiple textareas having the hide/show behavior is pretty common. This is limiting a lot where you can use the CKEditor
comment:7 Changed 13 years ago by
This is limiting a lot where you can use the CKEditor
What about using as a workaround technique presented in Ajax Sample http://nightly.ckeditor.com/7478/_samples/ajax.html Result is the same.
Alternatively there is also "replace div on the fly" (there is no hiding in this case) http://nightly.ckeditor.com/7478/_samples/divreplace.html
There is more than one way to skin a cat.
To reproduce:
When I tried to run only both commands in one line I was not able to reproduce the problem but when I ran them separately the problem occurred.