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 block: Submenu dropdown hidden behind Cover block overlay #20203

Closed
mapk opened this issue Feb 13, 2020 · 1 comment
Closed

Navigation block: Submenu dropdown hidden behind Cover block overlay #20203

mapk opened this issue Feb 13, 2020 · 1 comment
Labels
[Block] Cover Affects the Cover Block - used to display content laid over a background image [Block] Navigation Affects the Navigation Block Good First Issue An issue that's suitable for someone looking to contribute for the first time Needs Dev Ready for, and needs developer efforts [Type] Bug An existing feature does not function as intended

Comments

@mapk
Copy link
Contributor

mapk commented Feb 13, 2020

Describe the bug
When the Navigation block sits right above the Cover block, the submenu dropdown, when opened, sits behind the Cover block's overlay.

To reproduce
Steps to reproduce the behavior:

  1. Add a Navigation block. Fill it out with menu items.
  2. Add a Cover block right below it. Make sure it has an overlay.
  3. Click to add a submenu item in the Navigaiton block. You may need to add two items.
  4. Observe problem.

Expected behavior
I expect the submenu items to have a higher z-index than the overlay of the Cover block.

Screenshots

Screen Shot 2020-02-12 at 7 08 39 PM

Desktop (please complete the following information):

  • OS Catalina
  • Firefox 72.0.2
  • Gutenberg 7.5
@mapk mapk added [Type] Bug An existing feature does not function as intended [Block] Navigation Affects the Navigation Block Needs Dev Ready for, and needs developer efforts Good First Issue An issue that's suitable for someone looking to contribute for the first time labels Feb 13, 2020
darylldoyle added a commit to darylldoyle/gutenberg that referenced this issue Feb 14, 2020
A sub-nav with a z-index of 1 can sit below other blocks when open. Specifically the cover block overlay.

fixes WordPress#20203
@noisysocks noisysocks added the [Block] Cover Affects the Cover Block - used to display content laid over a background image label May 20, 2020
@talldan
Copy link
Contributor

talldan commented Jul 28, 2020

Fixed by #24062

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 [Block] Navigation Affects the Navigation Block Good First Issue An issue that's suitable for someone looking to contribute for the first time Needs Dev Ready for, and needs developer efforts [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

3 participants