[wp-trac] [WordPress Trac] #29307: Editor height jumps three times before it has its final height

WordPress Trac noreply at wordpress.org
Tue Aug 26 16:51:07 UTC 2014


#29307: Editor height jumps three times before it has its final height
--------------------------+-----------------------------
 Reporter:  ocean90       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.0
Component:  Editor        |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  ui, javascript
--------------------------+-----------------------------

Comment (by avryl):

 We should be able to fix this. It's not the wpautoresize plugin doing
 this. That one only resizes the editor once: `console.log( resizeHeight,
 oldSize );` where resizeHeight = 300 and oldSize = 0 (not the actual old
 size but previously stored resizeHeight, which is 0 the first time).

 For me, when I go to the new post screen, the editor resizes from small ->
 big -> small -> big -> small. (And wpautoresize only hits once here.
 Removing the height from the textarea gives me: supersmall -> small -> big
 -> small. (small = 300px). So there's something else resizing the editor.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29307#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list