Page MenuHomePhabricator

[TUX] Better adapt textarea to content: height doesn't fit text length automatically
Closed, ResolvedPublic

Description

The translation text area currently grows as the user types text, but does not:

  • get smaller when the user removes text.
  • grow when the user opens an existing translation that is larger than the textarea.

Version: master
Severity: normal

Details

Reference
bz45430

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:27 AM
bzimport set Reference to bz45430.

Related URL: https://gerrit.wikimedia.org/r/57712 (Gerrit Change I0eaa1b7f63dfdda9c7f061468a41f690012e1369)

(In reply to comment #0)

The translation text area currently grows as the user types text, but does
not:

  • get smaller when the user removes text.

This is yet to solve

Created attachment 12046
Edit field not high enough in Firefox 20.0/OSX 10.8.3

Added screenshot of unexpected behavior in Firefox with gerrit 57712

Attached:

Schermafbeelding_2013-04-07_om_20.18.27.png (742×1 px, 169 KB)

  • Bug 47047 has been marked as a duplicate of this bug. ***

(In reply to comment #0)

  • grow when the user opens an existing translation that is larger than the

textarea.

Another nasty consequence of this (just tested on Meta) is that, as soon as you click in the text area and type something, the area itself suddenly expands and the save buttons are no longer where you remember/expect them to be. If you only have to change something small, it's quite annoying because click becomes impossible, you must use shortcuts. (Also, the buttons usually go outside the screen at this point, but that's another matter.)