WordPress.org

Support

Support » Plugins and Hacks » Jetpack by WordPress.com » Comment box is expanding height while typing in Arras

Comment box is expanding height while typing in Arras

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’ve found that first textarea in comment-form-comment has width equal to 0px. When i manually in Firebug change it to for example 200px it does not expand the textbox anymore. Well… its expanding but when text reaches 200pixels.

    So my guess is that in the JetPack code is some kind of function that calculates when it should expand the height of the textarea based on the width of the text. So when text reaches new line it expands the textarea.

    But in this case since the width of the field is 0px, it expands vertically on every character.

    Please help anyone how to fix it.

    nvmd i’ve found that setting display: none on the iframe with comments made the script of comments wrongly calculate the width of the area. I’ve removed so it works.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Comment box is expanding height while typing in Arras’ is closed to new replies.
Skip to toolbar