Opened 9 years ago
Last modified 9 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
Or create a CKEditor instance this way:
CKEDITOR.replace( 'editor', {
extraPlugins: 'autogrow',
autoGrow_maxHeight: 500
} );
- 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 9 years ago by
| Owner: | set to Tade0 |
|---|---|
| Status: | new → assigned |
comment:2 Changed 9 years ago by
| Status: | assigned → review |
|---|

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.