Changelog History
Page 1
-
v8.4.0 Changes
Minor Changes
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 Changes
Patch Changes
- #341
9124bbf
Thanks @rebelliard! - Add React 18 to the allowed peer dependency range.
- #341
-
v8.3.3 Changes
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.1 Changes
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.
- ๐
-
v8.3.0 Changes
November 05, 2020 -
v8.2.0 Changes
June 30, 2020 -
v8.1.1 Changes
June 25, 2020 -
v8.1.0 Changes
June 24, 2020Minor Changes
- ๐
722e10a
#278 Thanks @emdotem! - Set inline style'sheight
property with the"important"
priority.
Patch Changes
db872f0
Thanks @Andarist! -TextareaAutosizeProps
are now based onReact.TextareaHTMLAttributes<HTMLTextAreaElement>
instead ofJSX.IntrinsicElements['textarea']
. The latter one includes a type forref
attribute and it being included as part ofTextareaAutosizeProps
has caused problems when usingTextareaAutosizeProps
to declare wrapper components. This is also more semantically correct asref
shouldn't be a part ofprops
. It's rather accepted by a particular JSX element and in case of thereact-textarea-autosize
this is the type of the exported component which isReact.ForwardRefExoticComponent<TextareaAutosizeProps>
(a result ofReact.forwardRef
call).๐
61ca826
Thanks @Andarist! -maxHeight
andminHeight
has been disallowed as part ofTextareaAutosizeProps['style']
. The intention to do that was there since the v8 release but it was not implemented correctly and allowed those to slip into the mentioned type. - ๐
-
v8.0.1 Changes
May 24, 2020Patch Changes
๐
2307033
#266 Thanks @vlazh! - Fixed a regression with calculating too high height for textareas withbox-sizing: border-box;
.1d1bba2
#265 Thanks @SimenB! - ExportedTextareaAutosizeProps
type for convenience.๐
da960f4
Thanks @Andarist! - Fixed an issue with internal cache not being populated correctly when usingcacheMeasurements
prop.