souporserious/react-measure

ResizeObserver entries are undefined when measure method is called

Closed this issue · 1 comments

This was introduced with 446e3e8
as measure method is missing the entires from ResizeObserver callback

_resizeObserver = new ResizeObserver(() => {
  this.measure()
})

We are also facing this issue. They have forgot to pass arguments here. Also this can we done in very clean way.