Navigation: Submenus not hidden on older browsers #39230
Labels
[Block] Navigation
Affects the Navigation Block
Browser Issues
Issues or PRs that are related to browser specific problems
Originally reported to the WordPress.org header repo, WordPress/wporg-mu-plugins#159. The navigation menu dropdowns use
:where
to hide the submenus, which does not work on Chrome 87 & below (source: Can I use). Chrome 88 was released in Jan 2021.You can see the issue in the following screenshots, on both the custom code for WordPress.org & the demo site for Twenty Twenty-Two (the "Sub-page" is visible like a top-level item).
While this does match with the supported browserslist, there was some discussion about whether this list should also apply to the frontend of sites (discussion starts here).
The text was updated successfully, but these errors were encountered: