Page MenuHomePhabricator

in Chrome, in editor, entering newline causes edit window to jump so context is off screen
Closed, InvalidPublic


Steps to Reproduce:

  1. Go to Wikipedia in Chrome.
  2. Edit a page.
  3. Enter many lines, e.g.
  1. If you have a tall edit window, resize your browser so that it's about 25 lines.
  2. Navigate so that your cursor is at the beginning of the line "(50)"
  3. Press Enter

Expected result:
A blank line is entered. There are no other changes to the display.

Actual result.
A blank line is entered. The display jumps so that the newly added line is off the top of the window and not visible, and "(50)" is the first line visible.


  • I'm seeing this on Windows.
  • It doesn't happen in Firefox, Edge, or IE, only in Chrome.
  • It's been happening for a very long time so it's not due to a change in Chrome or in the wiki editor software.
  • It also happens (and is even more annoying) when you copy/paste text ending in a newline rather than pressing enter.
  • To skip the setup steps in the reproduction, you can go to

Event Timeline

@Danbloch: Thanks for reporting this. I can confirm this for Chromium 75 on Linux. Sounds like a bug in Chrome/Chromium to me and not something that can be fixed in MediaWiki code?

If this is not yet listed under "BlockedOn" in , have you already reported this to the Chrome developers at

You're quite right. I found it in the Chromium bug database. It's I'll close it here. Thanks for checking.

Danbloch claimed this task.