-
Notifications
You must be signed in to change notification settings - Fork 2k
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 Block: Submenus hidden by subsequent blocks (z-index issue) when Navigation is inside a Cover block #93675
Comments
📌 REPRODUCTION RESULTS
📌 FINDINGS/SCREENSHOTS/VIDEO
📌 ACTIONS
|
@jartes I'm actually concerned that this issue has expanded beyond the I have a user here who is experiencing the same issue: 8627130-zd-a8c But when I tried to remove it from the I'm sure it's related to the issue that you mentioned, but something seems to have changed and it's happening in more conditions now. |
Support References This comment is automatically generated. Please do not edit it.
|
Just wanted to update that @mxhassani was able to find a
|
That workaround worked great for 8600675-zd-a8c Thanks for sharing! |
Hmmm, looks to be caused by the overflow rules on the cover block: But those same rules are required for sticky positioning. 🤔 cc @andrewserong in case there's extra context here. |
I think they might have been added originally to handle border radius (so that the background is properly clipped to the radius of the border). The switch to Unfortunately the main thing that comes to mind is that the Cover block isn't an ideal block to use for anything that would involve popovers (considering its issues with overflow here). Is there a reason why folks are using Cover blocks for their headers instead of a Group block? I.e. if it's about background images, the Group block now has pretty comprehensive background image support. If it's about being able to add an overlay color, though, then perhaps it highlights that it'd be good for Group blocks to be able to support overlays, I wonder? |
This might be a duplicate or likeness of this issue: |
I just checked this one, and it seems there's another issue here related to |
Related WordPress/gutenberg#45353 |
9237617-zd-a8c I added a "fixclipping" class to the row containing the navigation, and added the following CSS: .fixclipping { |
Quick summary
Navigation blocks that are placed inside a Cover block and use submenus will have the submenus overlapped/hidden by subsequent blocks on the page.
Steps to reproduce
What you expected to happen
The Navigation submenus should always be visible on desktop screens
What actually happened
The Navigation submenus are hidden on desktop (ok on mobile in my testing)
Impact
Most (> 50%)
Available workarounds?
No but the platform is still usable
If the above answer is "Yes...", outline the workaround.
No response
Platform (Simple and/or Atomic)
No response
Logs or notes
Reported in 8600675-zd-a8c
The text was updated successfully, but these errors were encountered: