For `text area` component, add a `singleMinLine` parameter

Open
#801 1 comment 0 reactions 2 assignees View on GitHub

Maintainers usually reply within 1 day

@nouha06 is already working on this.

Since Jun 8, 2026.

Assessment

This issue has not been assessed yet.

Description

⚛️ component ⚠️ on hold 📖 documentation 📱 demo app 🔍 triage 🧰 library

Context

Today the minimum height of the text area is fixed and relies on a component token (approximatively 3 lines).
For chat application, we need a text area that can be on a single line by default (takes less space at the bottom of the screen) and that is dynamically resized when the user writes. Like on WhatsApp app for example.

Description

A singleMinLine boolean parameter must be added to the text area API, set to false by default.
When the user set this parameter to true, the minimum height of the text area component must be equivalent to one line.
Be careful, when singleMinLine is set to true, the auto-resize parameter must be set to true. singleMinLine cannot be set to true if auto-resize is disabled.

Definition of Done

  • Update component text area (API, doc, demo app)
Dominant language
Dart
Stars
13
Forks
6
Avg merge
7h 41m
Merged PRs (30d)
7

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Orange-OpenSource/ouds-flutter

All issues in Orange-OpenSource/ouds-flutter

Similar issues

More Dart issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.