IntersectMBO / IntersectMBO/govtool

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

Open
#3,784 0 comments 0 reactions 0 assignees View on GitHub
📜 Proposal Pillar
Dominant language
HTML
Stars
21
Forks
29
Avg merge
2d 22h
Merged PRs (30d)
7

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.