Skip to content

Modal navigation: getting trapped in site editor outside the navigation #51291

@simison

Description

@simison

Description

When I open the full browser window navigation modal in Lettre theme using site editor, and then click outside the modal, I cannot get back to edit it easily.

Step-by-step reproduction instructions

  • Using Lettre theme
  • In site editor
  • Click yourself into header template, and navigation hamburger icon, and open the navigation modal.
  • All is fine, you can edit the navigation styles
  • Click outside the navigation. I think you end up selecting something outside the header, but I'm not sure.
  • The navigation modal stays open.
  • I cannot enter navigation modal by clicking the editor canvas anymore
  • I can enter navigation modal via List view

Maybe ther problem is that navigation modal isn't closing, yet editing context is switched to something else? Or that I cannot enter back to header just by clicking it again? Result feels buggy.

Screenshots, screen recording, code snippet

Screen.Recording.2023-06-07.at.14.32.19.mov

Environment info

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Block] NavigationAffects the Navigation Block[Feature] Site EditorRelated to the overarching Site Editor (formerly "full site editing")[Type] BugAn existing feature does not function as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions