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

All content is not visible in the navigation block overlay #36101

Closed
carolinan opened this issue Nov 1, 2021 · 1 comment
Closed

All content is not visible in the navigation block overlay #36101

carolinan opened this issue Nov 1, 2021 · 1 comment
Labels
[Block] Navigation Affects the Navigation Block [Type] Bug An existing feature does not function as intended

Comments

@carolinan
Copy link
Contributor

Description

If the navigation block has a lot of content, all content is not visible in the overlay, and there is no vertical scroll.

Step-by-step reproduction instructions

  1. First, either import the theme test data that already has a large menu, and add the "Testing" menu to the navigation block, or add many items and submenu items to the navigation block manually.
  2. Enable the responsive menu by setting it to mobile or always.
  3. View the front. Reduce the width to where the menu button displays.
  4. activate the overlay menu by clicking the button.
  5. See that not all menu items are visible and that you can't scroll to make them visible.

Optionally, try navigating the overlay screen using the keyboard Tab. You will find that the focus is sometimes on a menu item that is outside the visible screen.

Screenshots, screen recording, code snippet

The regular horisontal menu with some submenu items expanded:
horisontal menu

The open overlay:
Not all navigation items are showing

Environment info

WordPress 5.8.1
Gutenberg 11.8.0 and current trunk. I did not test older versions.

Tested with Emptytheme, Twenty Twenty-Two

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

@carolinan carolinan added [Type] Bug An existing feature does not function as intended [Block] Navigation Affects the Navigation Block labels Nov 1, 2021
@carolinan
Copy link
Contributor Author

Actually now I wonder if these two are the same issue / have the same cause #36102

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 [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

1 participant