-
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: overlapping(z-index) issue when nested inside Cover Block #79317
Comments
Support References This comment is automatically generated. Please do not edit it.
|
📌 SCRUBBING : RESULT - Replicated / Could Not Replicate / Uncertain
📌 FINDINGS/SCREENSHOTS/VIDEO
wp-block-jetpack-slideshow_container
wp-block-navigation__responsive-container hidden-by-default has-modal-open is-menu-open
The Cover block is the key difference, and the cover block also has a
Screenshots/RecordingsSimple Site, with Nav Block inside Cover Block: Same site without Cover Block: 📌 ACTIONS
|
This occurred here: |
7277570-zen This issue is not exactly the same as what is happening in this ticket, as the ticket is not about the overlay menu, and the height of the menu does affect the issue. This ticket is the same issue as the merged one #80151. This user is on the personal plan, so they can't add CSS, but I replicated the issue on my site and tried the CSS workaround for this situation and it did not work. I tested and making the cover block longer in this case does help, but it might not be how the user wants it to look like |
7825401-zen - CSS workaround also doesn't help |
7825401 -zen
|
Related issue: #75439 |
One more: 8082235-zd-a8c |
Related issue: 8173661-zd-a8c The submenu on mobile was being overlayed by the Cover block below it. I added a CSS class to set the Cover block that contained the menu to have a high z-index and this resolved it. |
Related issue: 8380863-zd-a8c Used the workaround to set custom CSS class + high Z-index |
We have a case here: |
As a workaround, we can recommend users they replace their cover block with a group block, now that group blocks support background images. I tested it and the dropdown menu shows outside the group block without any issues: Kapture.2024-09-13.at.15.08.41.mp4 |
I've got another case here. |
I've just tested this on a simple site + personal plan; alas I couldn't get it to work. |
Another case here: 8772803-zd-a8c |
This might be a duplicate or likeness of this issue: |
As suggested by @supernovia it's duplicate (#75439), so I'm closing it. |
Quick summary
While having an overlay menu opened, the slideshow block shows up on top of the overlay.
Steps to reproduce
What you expected to happen
To see the navigation menu correctly
What actually happened
This happened: (yes that image is from the slideshow)
Browser
Google Chrome/Chromium, Mozilla Firefox, Microsoft Edge
Context
No response
Platform (Simple, Atomic, or both?)
Simple
Other notes
Found that in Slack while trying to help with CSS: p1687930863677319-slack-C03TY6J1A
I only tested this on Simple websites and on a Pressable website.
The issue only manifested on the Simple sites, using the same themes.
Reproducibility
Consistent
Severity
Some (< 50%)
Available workarounds?
Yes, difficult to implement
Workaround details
CSS is the only thing I could suggest.
The most straightforward method is to add a class to the cover block, then add this CSS. If "fixclipping" is the class, add:
Or you can select in other ways. In Slack we used:
(edited to add the class method since the other wasn't working consistently for me)
The text was updated successfully, but these errors were encountered: