Skip to content

Releases: Andarist/react-textarea-autosize

v6.0.0

05 Mar 14:44
Compare
Choose a tag to compare

No actual changes, sort of a bug fix - documented way of requiring the package in CJS env was to require('react-textarea-autosize').default, but accidentally it got broken way over half a year ago in 5.1.0 (28 July 2017). Since that version CJS envs could do require('react-textarea-autosize') (without additional .default).

Interop between those 2 module formats is tricky if we do not provide additional interop helpers (that were omitted in "broken" versions) when bundling. It caused some issues in mixed SSR / browser development, so it got fixed, but due to long-standing nature of this "bug" it got decided to release this as major version if by any chance somebody has relied on the broken behaviour.

v5.2.1

14 Nov 12:14
Compare
Choose a tag to compare
  • accounting for tab-size property during height calculations (thanks to @tmilloff)

v5.2.0

08 Nov 10:48
Compare
Choose a tag to compare
  • we are binding requestAnimationFrame to window in development mode to mitigate IE11 quirk with eval source maps
  • we've switched to using babel7-beta internally, should result in slightly smaller and more performant code

v5.1.0

28 Jul 10:29
Compare
Choose a tag to compare
  • allowed React 16 as peer dependency
  • updated mostly dev dependencies
  • exposing flat bundle from now on

v5.0.7

23 Jun 09:41
Compare
Choose a tag to compare
  • include font-style attribute in height calculations (thanks to @wokr)

v5.0.6

25 May 15:49
Compare
Choose a tag to compare
  • fixed lifting resize lock

v5.0.5

25 May 15:48
Compare
Choose a tag to compare
  • fixed caching DOM measurements when the feature is used

v5.0.4

23 May 12:40
Compare
Choose a tag to compare
  • fixed SSR regression

v5.0.3

22 May 10:58
Compare
Choose a tag to compare
  • fixed issue with requestAnimationFrame passing its argument (number) to the _resizeComponent and that being passed to setState as callback

v5.0.2

21 May 11:37
Compare
Choose a tag to compare
  • fixed issue with getComputedStyle returning null in Firefox when used in frame with display:none; on it