Opened 11 years ago
Last modified 11 years ago
#10981 confirmed Bug
Autogrow plugin cause the text content to 'shake'
Reported by: | Irina | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 3.6 |
Keywords: | IBM | Cc: | Teresa Monahan, Satya Minnekanti |
Description
To Reproduce:
- Open the Autogrow sample in IE10
- Select format (Heading 1) in the toolbar
- Type in some text
- Press enter twice
- Type in text and press enter until the editor starts to grow
Problem: On the line when autogrow gets triggered the text content shakes, e.g. jumps up and down.
Attachments (2)
Change History (6)
comment:1 Changed 11 years ago by
Status: | new → confirmed |
---|---|
Summary: | IE: autogrow plugin cause the text content to 'shake' → Autogrow plugin cause the text content to 'shake' |
Version: | 4.2.2 (GitHub - master) → 3.6 |
comment:2 Changed 11 years ago by
We cannot reproduce this in any browser except IE10.
Also by default in CKEditor 4.x, contents.css adds margin: 20px
to the body element of the editor. If this is removed, the issue reported in this ticket is much worse. The editor 'shakes' on each new line after the editor has started to autogrow. If you type quickly, you will see that the editor scrollbar does appear briefly and then disappears again.
This margin was not added in CKEditor 3.x, so this behavior can be clearly seen in http://rev.ckeditor.com/ckeditor/trunk/7695/_samples/autogrow.html. Just follow the steps outlined above and after the editor starts to grow, continue to press enter and type some more text on each new line. The editor jumps for all lines of text after autogrow has been triggered and if you type quickly you will see the scrollbar appearing and disappearing.
comment:3 Changed 11 years ago by
Could you perhpas send me screen cast of this issue - for me bahaviour was the same in FF, Blink and IE.
Changed 11 years ago by
The editor jumps on the line when autogrow gets triggered
Changed 11 years ago by
The editor jumps on each new line after the editor has started to autogrow
comment:4 Changed 11 years ago by
Here my notes when i attempted to repro this issue:
win7 + ie8: scrollbar appears for factor of a second
win8 + ie10: content jumps
win7 + ie9: scrollbar appears for factor of a second
win7 + ie11: scrollbar appears for factor of a second
win8 + firefox 25: scrollbar appears for factor of a second
chrome: not affected
Problem can in fact be reproduced in all browsers from CKEditor 3.6 in both CKe 3.x and 4.x.
In editor 3.x scrollbar was showing up for a moment. This was eliminated in CKE 4.x but content still jumps up/down for a blink of a second. This is probably happening because editor calculates new content height.