PolymerElements / iron-autogrow-textarea

Textarea that grows in height as more lines of input are entered
https://webcomponents.org/element/PolymerElements/iron-autogrow-textarea
19 stars 48 forks source link

CSS padding does not effectively style the element #107

Closed intcreator closed 2 years ago

intcreator commented 7 years ago

Description

Adding CSS padding does not effectively style the element when used directly or with a mixin

Expected outcome

The text has padding between itself and the border of the text area

Actual outcome

The text area expands to be larger than the size of its container and/or the mirror div overlaps and covers the text.

Live Demo

Steps to reproduce

  1. Add at least 1 em of padding to the <iron-autogrow-textarea> element directly or the --iron-autogrow-textarea mixin
  2. Enter text in the text area until the formatting becomes painful

Browsers Affected

intcreator commented 2 years ago

this appears to be fixed according to the current demo