From c4321e12a6231f6f407e783a648c9f52a9abc81a Mon Sep 17 00:00:00 2001 From: Francesco Cioria Date: Wed, 13 Dec 2017 10:42:33 +0100 Subject: [PATCH] set boxSizing by default to "content-box" if this.props.maxRows is passed --- src/TextareaAutosize.tsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/TextareaAutosize.tsx b/src/TextareaAutosize.tsx index 5173a20..2b40506 100644 --- a/src/TextareaAutosize.tsx +++ b/src/TextareaAutosize.tsx @@ -121,12 +121,16 @@ export default class TextareaAutosize extends React.Component