As a user, i want to be able to type longer text without loosing sight of what i have already written.
Figma file here
For string type input fields which don't trigger a dropdown (example: monolingual text) when creating editing a statement, reference or qualifier:
Edit mode: Incremental space increase as needed, line by line:
- If the users input exceeds the 1 line space of the input field, the input field expands 1 further line under.
- If there are already a second line but the user input also exceeds this, the input field expands by one further line, and so on
- Maximum of 5 lines, after that we add a scrollbar to the input
- Any components below shift down
- Ranking icon stays put
- When the input field is out of focus, it remains the same size, the user can see up to 5 lines of text while he finishes and publishes
Display side: rules stay as they are
- if this is happening in a function where we have so far not decided to truncate, such as monolingual text, we show the entire text
- if this is a space where we do truncate already, which i couldn't find but believe exists, we truncate the text as previously defined.
The desktop UI has a quality-of-life feature to facilitate editing longer string values:
The mobile UI is missing this:







