Skip to content
This repository has been archived by the owner on Jun 30, 2024. It is now read-only.

v2.3.4

Compare
Choose a tag to compare
@rpearce rpearce released this 03 Jan 19:21
· 17 commits to main since this release
c3f2d7a

[2.3.4] - 2022-01-03

Changed

  • "Use useLayoutEffect instead of useEffect" (#72)

Fixed

  • "Textarea does not automatically recalculate size if it's parent container
    changes size" (#71). This adds a tiny dependency on
    fast-shallow-equal and
    pairs it with a custom hook to be able to detect shallow changes to a style
    object if it gets passed. We also are now resizing using a ResizeObserver,
    if it's supported, as well as if a provided className changes.