Releases: Andarist/react-textarea-autosize
v8.5.6
v8.5.5
v8.5.4
Patch Changes
- #397
bf3cad8
Thanks @Oyveloper! - Forcedisplay: block
for the hidden textarea to prevent other styles from overriding it and thus breaking the resizing functionality
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.