Skip to content

Navigation Overlay not honoring responsive breakpoints to deactivate #78486

@jhmonroe

Description

@jhmonroe

Description

The desktop and mobile navs have activated or deactivated correctly for years now. Say, if you resize your window.

The new navigation overlay is not honoring this once it's activated.

See video:

Step-by-step reproduction instructions

size window down
click hamburger to open custom mobile overlay
resize your window
overlay will not go away once the desktop breakpoint is met

Screenshots, screen recording, code snippet

Screen.Recording.2026-05-21.at.12.29.45.AM.mov

Environment info

WP 7
Brave (Chromium)
Mac

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

Please confirm which theme type you used for testing.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Block] NavigationAffects the Navigation Block[Type] BugAn existing feature does not function as intended

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions