Skip to content

menu up/down arrow does not navigate the overlay #4991

Closed
@alexw10

Description

@alexw10

Bug, feature request, or proposal:

Menu does not properly navigate with up/down arrows, also enter key does not work since you can't navigate with the up/down.
This work's just fine in autocomplete cause it is handling the up/down/enter key but this must have just been missed in menu.

What is the expected behavior?

Should be able to open a menu and click down arrow to the first element, second and than go back up to the first for example.

What is the current behavior?

Current behavior is up/down arrow will actually scroll the page.

What are the steps to reproduce?

Providing a Plunker (or similar) is the best way to get the team to see your issue.
Plunker template: https://goo.gl/DlHd6U
https://material.angular.io/components/component/menu

Can do it with the basic menu example above.

What is the use-case or motivation for changing an existing behavior?

Users should be able to navigate the menu via keyboard.

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Latest in Material2

Is there anything else we should know?

I would be glad to make the code updates for you guys let me know.

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentfeatureThis issue represents a new feature or feature request rather than a bug or bug fix

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions