Skip to content

Improve UX: Auto-expanding textarea for long-form input fieldsΒ #3784

@bosko-m

Description

@bosko-m

Textarea fields in the Governance Action submission form currently have a fixed height with scrollbars, which can reduce readability and make it harder for users to review longer responses β€” especially for fields with 2,000 and 10,000 character limits. A more user-friendly experience would allow these textareas to automatically expand to fit their content, up to a reasonable maximum height.

This change would enhance comfort and accessibility for applicants writing detailed answers, while preserving layout consistency.

Acceptance Criteria

  • Textareas auto-expand vertically as the user types, without requiring scrollbars initially.
  • A max-height is defined (e.g., ~400px / 15–20 lines) to prevent layout breakage.
  • Once max-height is reached, vertical scrollbar appears inside the textarea.
  • Textareas do not show jumpy behavior while typing (height transition is smooth).
  • Character counter (e.g., 1254 / 2000) remains functional if present.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    To do

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions