element-resize-detector
element-resize-detector copied to clipboard
TypeError Cannot read properties of null (reading 'defaultView')
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?
I don't have a reproduction case.