Page MenuHomePhabricator

ContentTranslation scrolls the page after each key press
Open, HighPublic

Description

As a translator, I would like to type the translated content without having to scroll the page to see where is the cursor. However, during the translation of the article Web of trust from English to Portuguese, this scrolling happend a lot (say, after any key press which added or removed content). This was annoying and counterproductive.

See the attached screencast:

Event Timeline

He7d3r renamed this task from ContentTranslation scrols the page after each key press to ContentTranslation scrolls the page after each key press.Feb 21 2020, 6:59 PM
He7d3r added a project: ContentTranslation.

The behavior is also present when translating other articles (e.g. Riemann hypothesis, Universal algebra).

Steps to reproduce

  1. Start a new translation using ContentTranslation tool.
  1. Start translating with first paragraph.
  1. Click on second or third paragraph. Article will focus back to first paragraph.

Logs

  1. T262172 has video of this behavior.
  1. No obvious console errors were seen during this scroll up issue.

Examples

It is seen commonly with article that has Infobox template at the start of the article.

Another example for testing: https://es.wikipedia.org/w/index.php?title=Especial:Traducci%C3%B3n_de_contenidos&page=%E0%AA%A7%E0%AB%8B%E0%AA%B3%E0%AB%80%E0%AA%A7%E0%AA%9C%E0%AA%BE+%E0%AA%A1%E0%AB%87%E0%AA%AE&from=gu&to=es&targettitle=&campaign=interlanguagelink

I got the same problem when translating Pratt & Whitney R-1340 Wasp. I got several console logs error (which attached to this comment as .png file); it looks like a issue about code error rather than a problem about browser.

I'd be happy to see it's solved, because it's so annoying and I cannot translate.

Note: And also, when trying to save, I additionally got this console error:

Steps to reproduce

  1. Start a new translation using ContentTranslation tool.
  1. Start translating with first paragraph.
  1. Click on second or third paragraph. Article will focus back to first paragraph.

Logs

  1. T262172 has video of this behavior.
  1. No obvious console errors were seen during this scroll up issue.

Examples

It is seen commonly with article that has Infobox template at the start of the article.

Another example for testing: https://es.wikipedia.org/w/index.php?title=Especial:Traducci%C3%B3n_de_contenidos&page=%E0%AA%A7%E0%AB%8B%E0%AA%B3%E0%AB%80%E0%AA%A7%E0%AA%9C%E0%AA%BE+%E0%AA%A1%E0%AB%87%E0%AA%AE&from=gu&to=es&targettitle=&campaign=interlanguagelink

For info - I get this problem translating an article without an infobox.