In a nutshell Safari does not support ResizeObserver fully yet, so AvatarRow and any other things that use it don't work as expected.
Solution
In this PR we add the polyfill @juggle/resize-observer to be used only on Safari. We can remove it when Safari supports RO properly (allegedly v15.4 which is coming soon).
Problem
@nickolas described it here.
In a nutshell Safari does not support ResizeObserver fully yet, so AvatarRow and any other things that use it don't work as expected.
Solution
In this PR we add the polyfill
@juggle/resize-observer
to be used only on Safari. We can remove it when Safari supports RO properly (allegedly v15.4 which is coming soon).🎥 Little demo in safari
--
We also include this https://github.com/helpscout/hsds-react/pull/1034 by @jakubjanczyk