block-experiments icon indicating copy to clipboard operation
block-experiments copied to clipboard

Layout Grid behaving weirdly with latest Gutenberg

Open tellthemachines opened this issue 2 years ago • 1 comments

The Layout Grid resize handles are acting up when latest version of Gutenberg is enabled:

https://github.com/Automattic/block-experiments/assets/8096000/331e75e9-a97e-4b5b-842a-09704b6db449

This is most likely due to a change on the Gutenberg side, but it's hard to debug as I'm not really familiar with this block.

Also, trying to add Layout Grid to a post in my local dev environment with Gutenberg trunk results in the whole editor crashing with Uncaught TypeError: Cannot add property width, object is not extensible, making it even harder to get to the bottom of the issue 😅

tellthemachines avatar May 26 '23 03:05 tellthemachines

I get the same strange behaviour, and Layout Grids not being saved, but only when trying to use it inside the Site Editor in a Block Theme. Maybe the Site Editors Preview size setting conflicts with LG's Responsive Breakpoints settings?

philbraun avatar Sep 26 '23 13:09 philbraun