Description
The Gutenberg editor crashes with a React error when clicking on the "About" panel in the List View sidebar immediately after opening a post. The crash only occurs when clicking before the block hierarchy (e.g., "Container" children) has finished loading.
Steps to Reproduce
- Open any post/page containing a Spectra Container block
- Open the List View sidebar (left panel)
- Immediately click on "About" before the Container's children are visible
- Editor crashes with error message: "Im Editor ist ein unerwarteter Fehler aufgetreten"
Expected Behavior
Clicking "About" should work at any time without crashing.
Actual Behavior
Editor crashes with React Error #185 (Maximum update depth exceeded).
Workaround
Wait 1-2 seconds until the block hierarchy is fully loaded (Container children become visible), then clicking "About" works fine.
Error Log
Error: Minified React error #185; visit https://reactjs.org/docs/error-decoder.html?invariant=185
at al (react-dom.min.js?ver=18.3.1.1:10:82327)
at qt (react-dom.min.js?ver=18.3.1.1:10:50992)
at u (compose.min.js?ver=7a9b375d8c19cf9d3d9b:9:30266)
at compose.min.js?ver=7a9b375d8c19cf9d3d9b:9:30418
at Ur (react-dom.min.js?ver=18.3.1.1:10:73201)
Environment
- Spectra Version: 3.0.0-beta.1
- WordPress Version: 6.9
- Browser: Chrome Version: 143.0.7499.41
Analysis
This appears to be a race condition where a React component attempts to update state on an unmounted or not-yet-mounted component during List View initialization.
Description
The Gutenberg editor crashes with a React error when clicking on the "About" panel in the List View sidebar immediately after opening a post. The crash only occurs when clicking before the block hierarchy (e.g., "Container" children) has finished loading.
Steps to Reproduce
Expected Behavior
Clicking "About" should work at any time without crashing.
Actual Behavior
Editor crashes with React Error #185 (Maximum update depth exceeded).
Workaround
Wait 1-2 seconds until the block hierarchy is fully loaded (Container children become visible), then clicking "About" works fine.
Error Log
Error: Minified React error #185; visit https://reactjs.org/docs/error-decoder.html?invariant=185
at al (react-dom.min.js?ver=18.3.1.1:10:82327)
at qt (react-dom.min.js?ver=18.3.1.1:10:50992)
at u (compose.min.js?ver=7a9b375d8c19cf9d3d9b:9:30266)
at compose.min.js?ver=7a9b375d8c19cf9d3d9b:9:30418
at Ur (react-dom.min.js?ver=18.3.1.1:10:73201)
Environment
Analysis
This appears to be a race condition where a React component attempts to update state on an unmounted or not-yet-mounted component during List View initialization.