Skip to content

Allow MenuAnchor created menus to traverse the submenu via keyboard. #119532

@gspencergoog

Description

@gspencergoog

Currently, if you create a menu using MenuAnchor, and you tab to the button, you can activate it, but you can't traverse to the submenu using the keyboard. This is because the submenu is in the overlay, and the button isn't handling the key events.

I'm not quite sure what the fix for this is, because it may be that the button itself has to add a shortcut for the arrow and tab keys to get to the submenu. Or maybe it just needs to focus the first item in the submenu when activated.

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work lista: desktopRunning on desktopa: text inputEntering text in a text field or keyboard related problemscustomer: quake (g3)f: focusFocus traversal, gaining or losing focusframeworkflutter/packages/flutter repository. See also f: labels.team-designOwned by Design Languages teamtriaged-designTriaged by Design Languages teamworkaround availableThere is a workaround available to overcome the issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions