react-resize-aware

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

MIT License

Downloads
144.2K
Stars
568
Committers
16
react-resize-aware - v4.0.0 Latest Release

Published by FezVrasta 7 months 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)
react-resize-aware - v3.1.1

Published by FezVrasta about 3 years ago

  • Added React 17 to allowed peer dependencies
react-resize-aware - v3.1.0

Published by FezVrasta almost 4 years ago

Typescript definitions

react-resize-aware - v3.0.1

Published by FezVrasta over 4 years ago

  • fix: Remove unusable, non-legible aria-label #42
react-resize-aware - v2.7.2

Published by FezVrasta almost 6 years ago

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

react-resize-aware - v2.7.1

Published by FezVrasta over 6 years ago

  • fix: handle case where resizeTarget is not an event listener (#14)
react-resize-aware - v2.7.0

Published by FezVrasta about 7 years ago

  • feat: Added child function support
react-resize-aware - v2.6.0

Published by FezVrasta about 7 years ago

  • feat: Added ability to provide custom height and width property names
react-resize-aware - v2.5.0

Published by FezVrasta about 7 years ago

  • fix(accessibility): apply aria-hidden and tabIndex to (#6)
react-resize-aware - v2.4.1

Published by FezVrasta over 7 years ago

  • Allow multiple children

v2.4.0

  • Added makeResizeAware decorator
react-resize-aware - v2.3.0

Published by FezVrasta over 7 years ago

  • Added makeResizeAware decorator/enhancer
react-resize-aware - v2.2.0

Published by FezVrasta over 7 years ago

  • Added onlyEvent property
  • Added tag property
react-resize-aware - v2.1.0

Published by FezVrasta over 7 years ago

  • Added onResize property
react-resize-aware - v2.0.0

Published by FezVrasta over 7 years ago

Breaking change, the component now has a new shiny API and it gets bundled with Rollup to be more lightweight.

It doesn't rely on react-dom anymore and will provide an height and width property to its child component.

react-resize-aware - v1.0.12

Published by FezVrasta over 7 years ago

fixed IE bug with events

react-resize-aware - publish to react-modules list

Published by FezVrasta over 8 years ago

react-resize-aware - Fixed problem on case sensitive file systems

Published by FezVrasta over 8 years ago

react-resize-aware - v1.0.9

Published by FezVrasta over 8 years ago

first stable release