Now that we’re on an RC, I upgraded a staging version of a live site to Beta 8, and ran into some quirks related to nested Global Blocks. This may be a side effect of some complex nesting & duplication that I’ve done, so bear with me.
In the screenshot below, the live version is on the left and beta 8 on the right.
The most obvious issue is the last little container with the social icons. (However, you can also see that the hours icon is pushed over a little bit too)
This particular section is a collection of “Contact Cards” for different locations for this business. And because I want to reference these contact cards at different points on the website, I have created Global Blocks for each of them (e.g. Tustin is its own card, and so are the Social icons).
I’ve then placed these Global Blocks inside of other Global Blocks containing Off Canvas Toggles.
To be clear, each of those is referenced in multiple other GBs just like that (so it appears on some pages multiple times). We’ll just focus on id=3095 for this, since its the one with most obvious issues. Here’s its skeleton (there’s some CSS on the classic column to make it a flex-row):
However, inspecting the page, it appears that a bunch of additional column divs have been added to the structure (live on left, beta on right - note the extra columns starting with e-3095-7 x-column
highlighted on the right).
I’ve been waiting for this RC to clean up some of this complex structure, so it’s certainly possible this is just a side effect of me going a little crazy with nested GB. However, it seems pretty strange to me that there are column divs being inserted into the structure of the page that aren’t present in the Global Blocks being referenced.
Can share login creds if you want to poke around.