Opened 5 months ago
Closed 4 months ago
#61635 closed defect (bug) (fixed)
Group block inner container should be removed when Grid variation is active in classic themes
Reported by: | isabel_brison | Owned by: | |
---|---|---|---|
Milestone: | 6.7 | Priority: | normal |
Severity: | normal | Version: | 6.6 |
Component: | Editor | Keywords: | gutenberg-merge has-patch commit |
Focuses: | Cc: |
Description
Grid blocks shouldn't have an inner container in classic themes, because some themes attach styles to that container that can cause the grid layout to break. This was fixed in Gutenberg while grid was still experimental, but the PR never got synced to core: https://github.com/WordPress/gutenberg/pull/49387
Change History (9)
This ticket was mentioned in PR #7016 on WordPress/wordpress-develop by @isabel_brison.
5 months ago
#1
- Keywords has-patch added
@isabel_brison commented on PR #7016:
5 months ago
#4
Thanks for the reviews! Committed to trunk in r58708.
This ticket was mentioned in Slack in #core by hellofromtonya. View the logs.
5 months ago
#7
@
5 months ago
Was this bug introduced in the 6.6 cycle? Or is fixing an earlier bug?
If in the 6.6 cycle, then it make sense to include in 6.6.1. If earlier than 6.6, what is the impact to drive including it in 6.6.1?
cc @ellatrix
#8
@
5 months ago
- Milestone changed from 6.6.1 to 6.6.2
With 6.6.1 RC happening soon today, moving this one to 6.6.2, though still need to confirm thisi is to fix a bug introduced in the 6.6 cycle.
#9
@
4 months ago
- Keywords commit added; dev-feedback removed
- Milestone changed from 6.6.2 to 6.7
- Resolution set to fixed
- Status changed from new to closed
When was this bug introduced?
The Gutenberg PR that fixes it is from March 2023. The bug was introduced in WordPress 6.2 or 6.3 cycle.
As the bug was not introduced during the 6.6 cycle, moving it to 6.7 and reclosing as fixed.
That said, could reconsider if this bugfix is impacting a feature introduced in 6.6.
Trac ticket: https://core.trac.wordpress.org/ticket/61635
Syncs https://github.com/WordPress/gutenberg/pull/49387 to core.
Testing in TT1, a grid that looks like this in the editor:
Should now look like this in the front end:
Instead of looking like this:
The remaining discrepancy between editor and front end is due to a pseudo-element that TT1 inserts into all Group blocks. There's a fix for that open in #7001.