Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#6967 closed Bug (fixed)

IE: autogrow plug in is not working properly

Reported by: Satya Minnekanti Owned by:
Priority: Normal Milestone:
Component: General Version: 3.4
Keywords: IBM IE Cc: Damian, joek, james, c

Description

To reproduce the defect:

  1. open a CKEditor sample with autogrow plug in loaded
  1. press enter 5 times to create 5 empty paragraphs.
  1. press enter for the 6th time.

Expected Result:

Editor body size should increase automatically with out any scrollbars no matter how many paragraphs we created in editor body.

Actual Result:

In IE6 & IE7 we are getting scrollbars in editor body after 5 empty paragraphs or after 11 lines of text in a paragraph.

In IE8 we are getting scrollbars after 15 empty paragraphs.

Attachments (2)

scrollbars.png (12.1 KB) - added by gabel 13 years ago.
Scrollbars in IE after autogrow
6967.patch (705 bytes) - added by typeof 13 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 13 years ago by Krzysztof Studnik

Keywords: IE added
Status: newconfirmed
Version: 3.4

comment:2 Changed 13 years ago by Damian

Is there any update to this ticket?

Changed 13 years ago by gabel

Attachment: scrollbars.png added

Scrollbars in IE after autogrow

comment:3 Changed 13 years ago by gabel

Cc: james c added; James removed

I can confirm that behavior. In FF and Chrome there is the known scrollbar-flicker and in IE i got scrollbars as soon it should autogrow.

Scrollbars in IE after autogrow

CKEditor 3.5.3 Internet Explorer 8 (IE shows the page in IE8 compatibility mode)

var config = {
	toolbar:
	[
		['Bold', 'Italic','-','NumberedList', 'BulletedList','Outdent','Indent','-','Link', 'Unlink'],
		'/',
		['Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo','-','Find','Replace'],
	],
	autoUpdateElement: 'true',
	autoUpdateElementJquery: 'true',
	removeDialogTabs: 'link:advanced;',			
	extraPlugins: 'autoclean,autogrow',
	autoGrow_maxHeight : 0,
	width: '477'
};

comment:4 Changed 13 years ago by Garry Yao

Resolution: fixed
Status: confirmedclosed

Issue is fixed by #7173.

comment:5 Changed 13 years ago by typeof

In the meantime I've created a patch for this issue that also deals with scrollbar flickering. Please take a look at it, hope you'll find it useful.

Changed 13 years ago by typeof

Attachment: 6967.patch added

comment:6 in reply to:  5 Changed 13 years ago by Garry Yao

Replying to typeof:

In the meantime I've created a patch for this issue that also deals with scrollbar flickering. Please take a look at it, hope you'll find it useful.

Patch makes it perfect, #7852 opened for it, nice contribution.

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