Skip to content

Enhancement on Textarea.js to allow custom ROWS_HEIGHT value #11375

Description

@kmestre

Hello,

Currently in Textarea component the ROWS_HEIGHT is static, and it has 19 as value.
Can we make it updatable based on a new prop? This will be very useful when having smaller fonts and smaller line heights.

Please see below an example where I've a lot of "empty" space between the last text line and the underline:

screen shot 2018-05-14 at 11 17 04

I'll wait for your feedback.

Thanks!

Metadata

Metadata

Labels

scope: text fieldChanges related to the text field.type: bugIt doesn't behave as expected.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions