Skip to content

feat(textarea): dynamic height#910

Merged
meowgorithm merged 5 commits intomainfrom
textarea-dynamic-height
Mar 25, 2026
Merged

feat(textarea): dynamic height#910
meowgorithm merged 5 commits intomainfrom
textarea-dynamic-height

Conversation

@meowgorithm
Copy link
Copy Markdown
Member

@meowgorithm meowgorithm commented Mar 20, 2026

This revision allows a textarea to dynamically shrink and grow vertically.

ta := textarea.New()
ta.DynamicHeight = true
ta.MinHeight = 3          // Minimum visible rows
ta.MaxHeight = 10         // Maximum visible rows
ta.MaxContentHeight = 20  // Maximum rows of content

@meowgorithm meowgorithm changed the title Textarea dynamic height feat(textarea): dynamic height Mar 20, 2026
Copy link
Copy Markdown
Member

@andreynering andreynering left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏

meowgorithm and others added 2 commits March 23, 2026 14:07
Co-authored-by: Andrey Nering <andreynering@users.noreply.github.com>
Co-authored-by: Andrey Nering <andreynering@users.noreply.github.com>
@meowgorithm meowgorithm merged commit f1daacf into main Mar 25, 2026
22 checks passed
@meowgorithm meowgorithm deleted the textarea-dynamic-height branch March 25, 2026 12:00
Maks1mS pushed a commit to stplr-dev/stplr that referenced this pull request Mar 28, 2026
This PR contains the following updates:

| Package | Type | Update | Change | OpenSSF |
|---|---|---|---|---|
| [charm.land/bubbles/v2](https://github.com/charmbracelet/bubbles) | require | minor | `v2.0.0` → `v2.1.0` | [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/charmbracelet/bubbles/badge)](https://securityscorecards.dev/viewer/?uri=github.com/charmbracelet/bubbles) |

---

> ⚠️ **Warning**
>
> Some dependencies could not be looked up. Check the [Dependency Dashboard](issues/23) for more information.

---

### Release Notes

<details>
<summary>charmbracelet/bubbles (charm.land/bubbles/v2)</summary>

### [`v2.1.0`](https://github.com/charmbracelet/bubbles/releases/tag/v2.1.0)

[Compare Source](charmbracelet/bubbles@v2.0.0...v2.1.0)

### Shrink ’n’ grow your textareas

The update adds a new feature to automatically resize your `textarea` vertically as its content changes.

```go
ta := textarea.New()
ta.DynamicHeight = true   // Enable dynamic resizing
ta.MinHeight = 3          // Minimum visible rows
ta.MaxHeight = 10         // Maximum visible rows
ta.MaxContentHeight = 20  // Maximum rows of content
```

Piece of cake, right?

<p><img width="500" src="https://github.com/user-attachments/assets/6f990de7-833d-4742-b3de-c87ffff8b77e" /></p>

Enjoy! 💘

#### Changelog

##### New!

- [`f1daacf`](charmbracelet/bubbles@f1daacf): feat(textarea): dynamic height ([#&#8203;910](charmbracelet/bubbles#910)) ([@&#8203;meowgorithm](https://github.com/meowgorithm))

***

<a href="https://charm.land/"><img alt="The Charm logo" src="https://stuff.charm.sh/charm-banner-next.jpg" width="400"></a>

Thoughts? Questions? We love hearing from you. Feel free to reach out on [X](https://x.com/charmcli), [Discord](https://charm.land/discord), [Slack](https://charm.land/slack), [The Fediverse](https://mastodon.social/@&#8203;charmcli), [Bluesky](https://bsky.app/profile/charm.land).

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At 12:00 AM through 04:59 AM and 10:00 PM through 11:59 PM, Monday through Friday ( * 0-4,22-23 * * 1-5 ), Only on Sunday and Saturday ( * * * * 0,6 ) (UTC), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My44Ni4xIiwidXBkYXRlZEluVmVyIjoiNDMuODYuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiS2luZC9EZXBlbmRlbmNpZXMiXX0=-->

Reviewed-on: https://altlinux.space/stapler/stplr/pulls/377
Co-authored-by: Renovate Bot <stapler-helper-bot@noreply.altlinux.space>
Co-committed-by: Renovate Bot <stapler-helper-bot@noreply.altlinux.space>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants