react-textarea-autosize icon indicating copy to clipboard operation
react-textarea-autosize copied to clipboard

row-property is a noop?

Open bigmistqke opened this issue 2 years ago • 2 comments

I just noticed in the example-site that the row-attribute is not doing anything: Screenshot 2023-01-09 at 18 19 45 these are not 4 rows.

is this expected behavior? I understand that 'row' is a bit of an odd property in the first place when using an auto-growing textarea, but if it is a noop, then it would be better to just give a type-error imo.

btw I am making a port of react-textarea-autosize for solid

bigmistqke avatar Jan 09 '23 17:01 bigmistqke

either noop and type-error, or allow it and row={4} === minRow={4} maxRow={4} imo

bigmistqke avatar Jan 09 '23 17:01 bigmistqke

I'd probably remove this from the types (and from examples)

Andarist avatar Jan 09 '23 17:01 Andarist