Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
theAdhocracy opened this issue May 19, 2024 · 2 comments
Closed

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

theAdhocracy opened this issue May 19, 2024 · 2 comments
Assignees
Labels

Comments

@theAdhocracy
Copy link

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

@i-just
Copy link
Contributor

i-just commented May 20, 2024

Hi, thanks for reporting! I raised a PR for this.

@brandonkelly
Copy link
Member

Craft 4.9.5 and 5.1.5 are out with a fix for this. Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants