element-resize-detector icon indicating copy to clipboard operation
element-resize-detector copied to clipboard

TypeError Cannot read properties of null (reading 'defaultView')

Open lolmaus opened this issue 2 years ago • 1 comments

Hi!

In Sentry, we see numerous cases of this error:

TypeError: Cannot read properties of null (reading 'defaultView')

It originates from here: https://github.com/wnr/element-resize-detector/blob/1.2.3/src/detection-strategy/object.js#L44

Is this a bug in element-resize-detector or are we doing something wrong?

lolmaus avatar Jan 31 '23 10:01 lolmaus

I don't have a reproduction case.

lolmaus avatar Jan 31 '23 10:01 lolmaus