Page MenuHomePhabricator

VisualEditor: Input box for template parameters does not handle two-line parameters well in Iceweasel (maybe other browsers?)
Closed, DuplicatePublic

Description

Template parameter input with one line of text

If I am entering text for a template parameter and then I press enter to start a new line, the input box remains the same (small) vertical size and the first line of text disappears. A very small scroll handle appears at the right, but it is not obvious that this is what it is.

Press enter again to add a third line will enlarge the input box so that both the second and third lines are visible, and the dark grey scroll handle disappears (but the light grey slot for it remains. Once it gets to four lines it starts working as expected.

This input box should expand enough with the first few lines, at least, that no scrolling is even necessary. By the time it becomes necessary, it should already be large enough that the scroll handle will be recognizable to users.


Version: unspecified
Severity: normal

Attached:

Template_parameter_input_1.png (1×1 px, 208 KB)

Details

Reference
bz64250

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:09 AM
bzimport set Reference to bz64250.

Created attachment 15162
Template parameter input with two lines of text

Attached:

Template_parameter_input_2.png (1×1 px, 208 KB)

Created attachment 15163
Template parameter input with three lines of text

Attached:

Template_parameter_input_3.png (1×1 px, 209 KB)

Created attachment 15164
Template parameter input with four lines of text

Attached:

Template_parameter_input_4.png (1×1 px, 211 KB)

This is very odd. Browser bug, maybe? This isn't the behaviour for me in Chrome, Safari, Opera or Firefox here…

Maybe a browser bug. It happens to me (still) in Iceweasel (Debian Jessie), but not in Chromium.