summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Cioria <firefelix@gmail.com>2017-06-19 17:34:51 +0200
committerFrancesco Cioria <firefelix@gmail.com>2017-06-19 17:34:51 +0200
commita9b1e0ae60911ef66a3128e64ec17b276d2f7aa4 (patch)
treed09a1f005c94b6e8d025585e6c31e3095c92a0b9
parent36cc99dc501cba73c22843de9cc64d0534022b1e (diff)
downloadreact-autosize-textarea-a9b1e0ae60911ef66a3128e64ec17b276d2f7aa4.zip
react-autosize-textarea-a9b1e0ae60911ef66a3128e64ec17b276d2f7aa4.tar.gz
react-autosize-textarea-a9b1e0ae60911ef66a3128e64ec17b276d2f7aa4.tar.bz2
revert change commited by mistake
-rw-r--r--src/TextareaAutosize.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/TextareaAutosize.js b/src/TextareaAutosize.js
index f4030b4..be7d822 100644
--- a/src/TextareaAutosize.js
+++ b/src/TextareaAutosize.js
@@ -92,7 +92,7 @@ export default class TextareaAutosize extends React.Component {
return {
...props,
saveDOMNodeRef,
- style: maxHeight ? { ...style, maxHeight, padding: 0 } : style,
+ style: maxHeight ? { ...style, maxHeight } : style,
onChange: this.onChange
};
}