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

Navigation/Submenu block: Explicit overlay colors do not affect the Submenu on the frontend #36439

Closed
jasmussen opened this issue Nov 12, 2021 · 2 comments · Fixed by #36476
Closed
Labels
[Block] Navigation Affects the Navigation Block [Block] Submenu Affects the Submenu Block - for submenus in navigation [Type] Bug An existing feature does not function as intended [Type] Regression Related to a regression in the latest release

Comments

@jasmussen
Copy link
Contributor

Description

Possibly related to #36429. When setting an explicit overlay color using the "Submenu & overlay background" property, it applies to submenus and submenu blocks in the editor only.

Any submenu on the frontend will not inherit the color:

Screenshot 2021-11-12 at 12 59 28

In the editor it works fine:
Screenshot 2021-11-12 at 12 59 35

Step-by-step reproduction instructions

Create a navigation menu with at least two levels of nesting.

Set an explicit overlay background color. Note that it doesn't apply to the submenu on the frontend.

Screenshots, screen recording, code snippet

No response

Environment info

No response

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

Yes

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

Yes

@jasmussen jasmussen added [Type] Bug An existing feature does not function as intended [Type] Regression Related to a regression in the latest release [Block] Navigation Affects the Navigation Block [Block] Submenu Affects the Submenu Block - for submenus in navigation labels Nov 12, 2021
@tellthemachines
Copy link
Contributor

This is a duplicate of #36427, isn't it? I'm looking into it.

@jasmussen
Copy link
Contributor Author

My apologies, I really did search first 🙈

Closing in favor of #36427.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Navigation Affects the Navigation Block [Block] Submenu Affects the Submenu Block - for submenus in navigation [Type] Bug An existing feature does not function as intended [Type] Regression Related to a regression in the latest release
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants