You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are new versions of react-textarea-autosize available from npm.
5.0.0
BREAKING CHANGES
dropped support for reading internally (for DOM measurements) prefixed box-sizing
dropped support for proxy (to underlaying DOM node) methods on the instance - value, selectionStart , selectionEnd setters/getters, focus and blur (accessible before through ref on the component). If you need access to those please use inputRef prop to get ref of the underlaying DOM node and use native methods on it
dropped support for the valueLink prop which supported using LinkedStateMixin which is deprecated since React 15
dropped rows prop alias, please use minRows instead (previously it was the same thing anyway)
NEW IN THE RELEASE
passing this as second argument to the onHeightChange callback
providing rowCount property on the instance which is the reason why this is passed to onHeightChange - so the rowCount may be accessed, this is for now the only prop supported that you may access, please do not use any internal stuff
using incrementing uid as cache key - important when using useCacheForDOMMeasurements prop, providing id or name to the component is no longer required for the cache to work
The text was updated successfully, but these errors were encountered:
There are new versions of react-textarea-autosize available from npm.
5.0.0
BREAKING CHANGES
box-sizing
value
,selectionStart
,selectionEnd
setters/getters,focus
andblur
(accessible before throughref
on the component). If you need access to those please useinputRef
prop to get ref of the underlaying DOM node and use native methods on itvalueLink
prop which supported usingLinkedStateMixin
which is deprecated since React 15rows
prop alias, please useminRows
instead (previously it was the same thing anyway)NEW IN THE RELEASE
this
as second argument to theonHeightChange
callbackrowCount
property on the instance which is the reason whythis
is passed toonHeightChange
- so therowCount
may be accessed, this is for now the only prop supported that you may access, please do not use any internal stuffuid
as cache key - important when usinguseCacheForDOMMeasurements
prop, providingid
orname
to the component is no longer required for the cache to workThe text was updated successfully, but these errors were encountered: