TextareaControl: Add min-height to textarea#72867
Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
|
Flaky tests detected in 2f92f83. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/18969500284
|
What?
This PR adds
min-heightto thetextareaelement ofTextareaControl.Why?
To avoid the textarea element looking bad if height was resized to the lowest possible point.
This was influenced by this real-life example.
How?
Just adding a calculated min-height.
Testing Instructions
TextareaControlTesting Instructions for Keyboard
Same
Screenshots or screencast
Before:
Screen.Recording.2025-10-31.at.11.41.35.mov
After:
Screen.Recording.2025-10-31.at.11.41.03.mov