npm react-textarea-autosize 5.0.0
v5.0.0

latest releases: 8.5.2, 8.5.1, 8.5.0...
6 years ago

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

Don't miss a new react-textarea-autosize release

NewReleases is sending notifications on new releases.