I assume this is due to the resizable JS that gets applied to the textarea forcing 100% width on it.

Simplest thing maybe to drop this setting?

CommentFileSizeAuthor
#3 webform_textarea_description.patch1.18 KBquicksketch
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

quicksketch’s picture

I'm assuming you meant "textarea width has no effect"?

There is a note in the description text saying that it won't have an effect if your CSS sets a width on it. Not all sites have this CSS in place though, so I think it's important to keep it as an option.

joachim’s picture

Sorry, yes width.

It's actually set in system.css:

html.js .resizable-textarea textarea {
    display: block;
    margin-bottom: 0;
    width: 100%;
}

so most themes are going to find a problem with that...

The warning isn't there on 6.x-3.15 -- any chance of a backport?

quicksketch’s picture

Title: textarea height has no effect » Textarea width has no effect on most sites
Priority: Normal » Minor
Status: Active » Fixed
FileSize
1.18 KB

Ah, the warning is actually in Form Builder, not in Webform so I didn't see it right away. Updated with the following description. "This property might not have a visual impact depending on the CSS of your site."

Committed attached patch, which also fixes #1480730: textarea height UI text needs to specify units.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.