npm react-textarea-autosize 4.2.1
v4.2.1

latest releases: 8.5.2, 8.5.1, 8.5.0...
6 years ago
  • fixed cursor jumps caused for controlled inputs (culprit: doubled height calculations - pre and post change)
  • added safe guard check before calculating element's height for non-browser environment (i.e. during tests)
  • optimized calls to setState, now it's called only when some change happened
  • applying style properties directly (style.setProperty) instead of element.setAttribute('style', ...) to avoid CSP issues with unsafe-inline

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

NewReleases is sending notifications on new releases.