Open andyfangaf opened 4 years ago
At least for Safari. Usage is like this:
import ResizeObserver from 'resize-observer-polyfill' ... const [ref, bounds] = useMeasure({ polyfill: ResizeObserver, })
I have the same issue with safari polyfill issue.. Have you found a solution for that
At least for Safari. Usage is like this: