Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Global list block styles bleed into the Group block placeholder #59414

Closed
carolinan opened this issue Feb 27, 2024 · 3 comments · May be fixed by #33494
Closed

Global list block styles bleed into the Group block placeholder #59414

carolinan opened this issue Feb 27, 2024 · 3 comments · May be fixed by #33494
Labels
[Block] Group Affects the Group Block [Block] List Affects the List Block [Type] Bug An existing feature does not function as intended

Comments

@carolinan
Copy link
Contributor

Description

If you add a background color to the list block in the Global styles interface, it affects the color of the group block placeholder, where you choose between group / row / stack/ grid.

Untested (I did not have time yet ), but this might be fixed by #56469

Step-by-step reproduction instructions

Activate a block theme.
Open the Site Editor, Styles sidebar, and select Blocks > List, and add a background color.
Save.
In the Site Editor or block editor, add a new group.
See that part of the background has the same color that you chose for the list.

Screenshots, screen recording, code snippet

Group block placeholder with partial background color

Environment info

Reproduced in WordPress 6.4.3, 6.5 alpha, with and without Gutenberg trunk.

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

No

@carolinan carolinan added [Type] Bug An existing feature does not function as intended [Block] List Affects the List Block [Block] Group Affects the Group Block labels Feb 27, 2024
@tellthemachines
Copy link
Contributor

Thanks for opening this! I just came here to report the same 😄

Screenshot 2024-03-18 at 11 29 08 AM

The issue would indeed be fixed by #56469 because the problem is lack of scoping of the List block styles:

Screenshot 2024-03-18 at 3 20 32 PM

@ellatrix
Copy link
Member

This would be fixed by #33494.

@carolinan
Copy link
Contributor Author

I am not able to reproduce this issue any more. Is the linked PR correct?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Group Affects the Group Block [Block] List Affects the List Block [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants