Skip to content

Can't open Add link in Navigation Submenu via Enter Keypress #60051

@jeryj

Description

@jeryj

Description

When "Add link" is selected in a navigation submenu, pressing Enter should open the link control for that navigation item.

There is no way to prevent the insertAfterBlock from running on an Enter keypress.

Step-by-step reproduction instructions

  • Create a navigation menu
  • Add a submenu
  • Use the arrow keys to navigate to the Add link (it will have a blue border around it)
  • Press Enter
  • A new Add Link will be added with the link control open

Screenshots, screen recording, code snippet

enter.on.add.link.adds.new.link.mov

Environment info

No response

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    [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