Releases: Andarist/react-textarea-autosize
v8.5.3
v8.5.2
v8.5.1
v8.5.0
Minor Changes
-
#373
05b014a
Thanks @Andarist! - Compatibility with node's ESM has been improved.import TextareaAutosize from 'react-textarea-autosize';
was always meant to provide you the default export of this package (the exported component) and now node should load it this way. -
#373
05b014a
Thanks @Andarist! - SSR environments should now be able to pick smaller bundles throughpackage.json#exports
. -
#373
05b014a
Thanks @Andarist! - This package no longer depends onprocess.env.NODE_ENV
. To get dev-only warnings you have to configure your bundler/runtime to use thedevelopment
condition.
Patch Changes
- #370
d33b120
Thanks @ArnaudRinquin! - Add a guard against potentially missingdocuments.fonts
v8.4.1
Patch Changes
-
#353
19aead9
Thanks @knownasilya! - Workaround for FirefoxscrollHeight
bug affecting textarea's height on a dynamic toggle -
#362
2301195
Thanks @ArnaudRinquin! - Support automatic resizing when a custom fonts ends up loading
v8.4.0
Minor Changes
-
#354
41d10b2
Thanks @Andarist! -exports
field has been added to thepackage.json
manifest.Thanks to this, the package now includes a
worker
condition that can be utilized by properly configured bundlers when targeting worker-like environments. It fixes the issue with browser-specific files being prioritized by some bundlers when targeting workers.
v8.3.4
Patch Changes
- #341
9124bbf
Thanks @rebelliard! - Add React 18 to the allowed peer dependency range.
v8.3.3
Patch Changes
-
0d7ac21
#326 Thanks @karlingen! - Account forword-break
property when calculating the height. -
6336448
#327 Thanks @circlingthesun! - Fixed thetabindex
attribute name that is set on the hidden textarea used for height calculations.
v8.3.2
v8.3.1
Patch Changes
49d7d04
#305 Thanks @mxschmitt! - Moved internal'resize'
listener to the layout effect since React 17 calls cleanups of regular effects asynchronously. This ensures that we don't ever try to access the already unmounted ref in our listener.