This repository has been archived by the owner on Jun 30, 2024. It is now read-only.
v2.3.4
[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 astyle
object if it gets passed. We also are now resizing using aResizeObserver
,
if it's supported, as well as if a providedclassName
changes.