Page MenuHomePhabricator

let term fields grow to initial value height
Closed, ResolvedPublic

Description

As a user switching from reading into editing mode
I want to see the same amount of information in label, description and alias-fields in both reading and editing mode.
Therefor the boxes signaling editing mode should adapt their heights to the value of these fields.

Values should not be cut of. Therefore scrolling should not happen.
When entering text, the field should grow with its value.

Note:

  • Similar to investigations on sticky buttons and new lines for aliases have a look into how much it will cost. If either the initial adaption of the field heights or the "live" adjustment of entered text costs a lot, let's discuss again what other ways we could go.
  • created based on @Pablo-WMDE's interpretation of the story AC "existing content of the fields is shown fully"

Event Timeline

Change 501584 had a related patch set uploaded (by Jakob; owner: Jakob):
[wikibase/termbox@master] Let label field grow to initial value height

https://gerrit.wikimedia.org/r/501584

@Jakob_WMDE Adding overflow: auto ensures that scroll bars are not shown - while, by default, in "special" browsers they were visible for reasons.

VirtualBox_IE11 - Win7_09_04_2019_15_05_02.png (979×1 px, 122 KB)

Change 501584 merged by jenkins-bot:
[wikibase/termbox@master] Make label and description inputs grow with their values

https://gerrit.wikimedia.org/r/501584