Skip to content

[5.x]: Alt Text Field Does Not Expand With Content #15026

@theAdhocracy

Description

@theAdhocracy

What happened?

Description

Regular Plain Text fields all auto-expand as you type into them, ensuring that content isn't hidden from view or behind a scrollbar. The new Alternative Text field appears to be locked at two/three rows, and does not expand beyond that, making content harder to read.

Steps to reproduce

  1. Create any Asset with the Alternative Text field enabled
  2. Type into the box until you exceed the existing height.
  3. A vertical scroll bar will appear; text area does not expand.

Expected behavior

Text area to expand to fit the content, in the same way that Plain Text fields do.

Actual behavior

image

Craft CMS version

5.1.4

PHP version

8.2

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions