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

Cover Block/Navigation Block #53857

Open
SierraTR opened this issue Aug 21, 2023 · 3 comments
Open

Cover Block/Navigation Block #53857

SierraTR opened this issue Aug 21, 2023 · 3 comments
Labels
[Block] Cover Affects the Cover Block - used to display content laid over a background image [Type] Enhancement A suggestion for improvement.

Comments

@SierraTR
Copy link

Description

When the cover block is used to contain a navigation block the overflow setting of the cover block prevents the display of sub-menu items that extend past the limit of the cover block.

Step-by-step reproduction instructions

  1. insert cover block into page/post content or header template part/synchronized pattern.
  2. insert navigation block into the cover block - place the navigation block in the bottom 1/3 of the cover block
  3. select/modify menu items so that at least one main menu item has several sub-menu items
  4. save/update the page/post and view
  5. hover over the menu item with sub-menu items associated
  6. the drop-down display of sub-menu items extends only to the bottom margin of the cover block
  7. screen recording shows adding Additional CSS to set cover block overflow to visible and the result.

Screenshots, screen recording, code snippet

Cover-Navigation-Block-Overflow.mp4

Environment info

localwp installation of:
WP 6.3
Twenty Twenty-Three theme
Gutenberg 16.4.0 plugin installed & activated

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

@jordesign jordesign added [Type] Enhancement A suggestion for improvement. [Block] Cover Affects the Cover Block - used to display content laid over a background image labels Aug 22, 2023
@jordesign
Copy link
Contributor

This is related to this recent(ish) change #50209

@JoelCantero
Copy link

Description

When the cover block is used to contain a navigation block the overflow setting of the cover block prevents the display of sub-menu items that extend past the limit of the cover block.

Step-by-step reproduction instructions

  1. insert cover block into page/post content or header template part/synchronized pattern.
  2. insert navigation block into the cover block - place the navigation block in the bottom 1/3 of the cover block
  3. select/modify menu items so that at least one main menu item has several sub-menu items
  4. save/update the page/post and view
  5. hover over the menu item with sub-menu items associated
  6. the drop-down display of sub-menu items extends only to the bottom margin of the cover block
  7. screen recording shows adding Additional CSS to set cover block overflow to visible and the result.

Screenshots, screen recording, code snippet

Cover-Navigation-Block-Overflow.mp4

Environment info

localwp installation of: WP 6.3 Twenty Twenty-Three theme Gutenberg 16.4.0 plugin installed & activated

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

Same problem is affecting me as well!

@liviopv
Copy link

liviopv commented Nov 14, 2023

This limitation severely limits users from creating beautiful header layouts using the Cover Block. Unless the Navigation is placed at the top of the Cover Block and the Cover has a considerable minimum height, the submenus don't work. On support, it's not uncommon to see users dealing with this limitation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Cover Affects the Cover Block - used to display content laid over a background image [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

4 participants