[wp-trac] [WordPress Trac] #37072: Unexpected behavior when using backspace/replacing content in the text editor

WordPress Trac noreply at wordpress.org
Fri Jun 10 15:05:23 UTC 2016


#37072: Unexpected behavior when using backspace/replacing content in the text
editor
--------------------------+-----------------------------
 Reporter:  DrewAPicture  |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Editor        |    Version:  trunk
 Severity:  normal        |   Keywords:  needs-patch
  Focuses:  javascript    |
--------------------------+-----------------------------
 I'm seeing some strange behavior when using backspace or replacing content
 in the text editor.

 It's kind of hard to explain. The gist is that I'd expect to be able to
 just edit text without the scroll position jumping around in the textarea.

 Right now, if I'm editing a line midway down the page, when I hit
 backspace, the line force jumps up to where the current line I’m editing
 is at the bottom of the textarea. This happens every time I hit backspace
 - edit a line halfway down, hit backspace or replace some content and it
 jumps to the bottom, I scroll back up, lather, rinse, repeat.

 As you can imagine, the constant jumping around can be pretty annoying if
 you're editing a lot of content!

 Here's a screencast demonstrating the problem:
 https://cloudup.com/cfgNJUSTp40

 Reproduced in Chrome and Firefox in current trunk.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37072>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list