React Resize Aware Versions Save

⇲👁 A simple React Hook which allows to listen the resize event of any target element when it changes sizes

v4.0.0

1 month ago
  • the package now works with Vite and other modern bundles out of the box
  • the sizes object can now be either null, or an object with numeric width and height properties (never null)

v3.1.1

2 years ago
  • Added React 17 to allowed peer dependencies

v3.1.0

3 years ago

Typescript definitions

v3.0.1

3 years ago
  • fix: Remove unusable, non-legible aria-label #42

v2.7.2

5 years ago

Fixed a bug that prevented proper resize detection on newer versions of Firefox

v2.7.1

5 years ago
  • fix: handle case where resizeTarget is not an event listener (#14)

v2.7.0

6 years ago
  • feat: Added child function support

v2.6.0

6 years ago
  • feat: Added ability to provide custom height and width property names

v2.5.0

6 years ago
  • fix(accessibility): apply aria-hidden and tabIndex to (#6)

v2.4.1

7 years ago
  • Allow multiple children

v2.4.0

  • Added makeResizeAware decorator