Opened 3 years ago

Last modified 7 months ago

#14749 new defect (bug)

Scrollbar position jumping in the Appearance->Editor newcontent textarea

Reported by: Giant Slayer Owned by:
Priority: normal Milestone: Awaiting Review
Component: Editor Version: 3.0.1
Severity: normal Keywords:
Cc:

Description

As I am editing code in the Appearance Editor main textarea called newcontent, the scrollbar slider will jump upward to a new position moving the current line being edited down.

On a vista machine using ie8 with wp3.0.1 and the 2010 theme, a single character stroke will move the scrollbar up 3 lines.

On an xp machine using ie8 with wp3.0.1 and a custom theme, a single character stroke will move the scrollbar up 8 lines. Ocasionally the scrollbar will only move 1 line and every keystroke will bring the down. Pasting text can and often does bring the line being edited below the visible area of the textarea.

It is very frustrating when it jumps around like this.

Change History (3)

i can confirm this. It's fairly annoying. Workaround is to use ie compatibility view though so have resisted raising.

  • Keywords reporter-feedback added

Does this still happen in 3.1? I can't reproduce it.

  • Component changed from UI to Editor
  • Keywords reporter-feedback removed

It does still happen even now (3.4.2), seems to be caused by a weird IE8 conflict between the textarea's cols attribute and a CSS width: http://stackoverflow.com/questions/2933320/textareas-scroll-by-themselves-on-ie8-every-time-you-type-one-character. Not sure what we should do about it, though.

Note: See TracTickets for help on using tickets.