diff options
author | Jack Moore <hello@jacklmoore.com> | 2017-07-12 19:38:25 -0400 |
---|---|---|
committer | Jack Moore <hello@jacklmoore.com> | 2017-07-12 19:38:25 -0400 |
commit | 113f1b345868901619d4b01cda02b09aa1690ebd (patch) | |
tree | 75045dbe71884780b3a5061a69b502f285ded127 /src | |
parent | 5284a460d160bd11fda219941b20eb2a82155294 (diff) | |
download | autosize-master.zip autosize-master.tar.gz autosize-master.tar.bz2 |
Changed how Autosize determines the inital height. Fixes #336.HEAD4.0.0origin/masterorigin/HEADmaster
Diffstat (limited to 'src')
-rw-r--r-- | src/autosize.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/autosize.js b/src/autosize.js index dd891c3..5b34551 100644 --- a/src/autosize.js +++ b/src/autosize.js @@ -104,7 +104,7 @@ function assign(ta) { const overflows = getParentOverflows(ta); const docTop = document.documentElement && document.documentElement.scrollTop; // Needed for Mobile IE (ticket #240) - ta.style.height = 'auto'; + ta.style.height = ''; let endHeight = ta.scrollHeight+heightOffset; |