React Dom: Error with Resize Observer

While dragging the resize handles to narrow the viewport a crash just happened. It may be connected to the iFrame force feature that was activated earlier.


TypeError: Cannot read properties of null (reading 'ResizeObserver')
    at [...]/wp-includes/js/dist/block-editor.min.js?ver=8a070b748cf406a8d42e:41:103660
    at Ur ([...]/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:73411)
    at Jr ([...]/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:80643)
    at Zr ([...]/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:80489)
    at Gr ([...]/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:80023)
    at [...]/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:91526
    at xl ([...]/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:92039)
    at fl ([...]/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:85808)
    at Nn ([...]/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:32474)
    at [...]/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:83226

Environment info

  • WordPress version: 6.4.3
  • Cwicly Plugin version: 1.4

Hello @oppi,

Thanks for the report and my apologies for the trouble.

Unfortunately, I’m unable to reproduce this on my end.
Does the editor crash every time you resize the editor? Does this happen on the post editor or site editor?

Thanks in advance.


I can confirm I have also encountered this error (same way, after a resize of the viewport inside a page). But can’t reproduce it a second time.

1 Like

It doesn’t crash everytime. In fact it happened the first time and did not afterwards.
Just thought I’ll share that with you.
This was in the post editor. If this happens again, I’ll try to gather more info.

1 Like