react-textarea-autosize
Advanced tools
Changelog
8.5.9
#417 cbced4f
Thanks @threepointone! - Added edge-light
and workerd
conditions to package.json
manifest to better serve users using Vercel Edge and Cloudflare Workers.
This lets tools like Wrangler and the Cloudflare Vite Plugin pick up the right version of the built module, preventing issues like https://github.com/cloudflare/workers-sdk/issues/8723.
Changelog
8.5.8
d12e6a5
Thanks @benjaminwaterlot! - Fixed a race condition leading to an error caused by textarea being unmounted before internal requestAnimationFrame
's callback being firedChangelog
8.5.4
bf3cad8
Thanks @Oyveloper! - Force display: block
for the hidden textarea to prevent other styles from overriding it and thus breaking the resizing functionalityChangelog
8.5.0
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.05b014a
Thanks @Andarist! - SSR environments should now be able to pick smaller bundles through package.json#exports
.05b014a
Thanks @Andarist! - This package no longer depends on process.env.NODE_ENV
. To get dev-only warnings you have to configure your bundler/runtime to use the development
condition.d33b120
Thanks @ArnaudRinquin! - Add a guard against potentially missing documents.fonts