Opened 8 years ago

Last modified 8 years ago

#14698 review Bug

Vertical scrollbar flashes during auto grow

Reported by: Tade0 Owned by: Tade0
Priority: Normal Milestone:
Component: General Version: 4.5.11
Keywords: autogrow Cc:

Description

Steps to reproduce

  1. Go to: http://ckeditor.com/demo#auto-grow

Or create a CKEditor instance this way:

CKEDITOR.replace( 'editor', {
	extraPlugins: 'autogrow',
	autoGrow_maxHeight: 500
} );
  1. Type enough lines for the editor to stop growing.

Expected result

The editor grows with its content.

Actual result

The editor grows, but with each step a vertical scrollbar appears for a fraction of a second.

Change History (2)

comment:1 Changed 8 years ago by Tade0

Owner: set to Tade0
Status: newassigned

comment:2 Changed 8 years ago by Tade0

Status: assignedreview

As a solution resizeEditor() could be called always twice - first time synchronously, and the second time after a timeout.

Changes pushed to branch:t/14698.

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