diff --git a/src/autosize.js b/src/autosize.js index 4be30cc..3e575d0 100644 --- a/src/autosize.js +++ b/src/autosize.js @@ -135,7 +135,7 @@ function assign(ta) { // The actual height not matching the style height (set via the resize method) indicates that // the max-height has been exceeded, in which case the overflow should be allowed. - if (actualHeight !== styleHeight) { + if (actualHeight < styleHeight) { if (computed.overflowY === 'hidden') { changeOverflow('scroll'); resize();