• Hi, really like the grids plugin but unfortunately there is a bug in the 1.2.21 verison.

    When you put the grids layout block inside another block as innerblock then the plugin crashes throwing the following error:

    react-dom.min.js?ver=16.9.0:103 TypeError: Cannot read property ‘attributes’ of undefined
    at edit (grids.js?ver=1.2.21:1)
    at je (react-dom.min.js?ver=16.9.0:78)
    at qe (react-dom.min.js?ver=16.9.0:89)
    at ph (react-dom.min.js?ver=16.9.0:216)
    at lh (react-dom.min.js?ver=16.9.0:126)
    at O (react-dom.min.js?ver=16.9.0:121)
    at ze (react-dom.min.js?ver=16.9.0:118)
    at react-dom.min.js?ver=16.9.0:53
    at unstable_runWithPriority (react.min.js?ver=16.9.0:26)
    at Ma (react-dom.min.js?ver=16.9.0:52)

    I use this plugin within a custom block but you can repoduce the error by:
    1) add the default columns block and select a layout
    2) put the grids layout inside a given column
    3) select a layout for the grids plugin
    4) add a paragraph text inside an area of a section
    5) click outside the paragraph text and the area will crash.

    Thanks in advance!

    • This topic was modified 4 years, 9 months ago by holdenford.
Viewing 1 replies (of 1 total)
  • Plugin Contributor Andrea Gandino

    (@andg)

    Hello there,

    thank you for using Grids.

    We’ve tried to replicate the error you’ve reported, but we haven’t been able to do so, as we’re able to use a Grids block inside a container. So far we’ve used the Grids block together with the Columns, Media & Text and Group blocks.

    Are you using Gutenberg the plugin, by chance? If so, what version of it?

    Andrea

Viewing 1 replies (of 1 total)
  • The topic ‘TypeError: Cannot read property ‘attributes’ of undefined’ is closed to new replies.