Skip to content

Strange focus behaviour for dynamic matMenu content #7973

Closed
@skappler

Description

@skappler

Bug, feature request, or proposal:

Bug

What is the expected behavior?

No menu item should be selected automatically

What is the current behavior?

I have a matMenu which contains an input field which can be used to filter the menu items. After entering the first character of the filter string, the input loses focus and one of the menu items is selected. After re-focussing the input and typing more, it behaves as expected

What are the steps to reproduce?

See this plunker http://plnkr.co/edit/dc3vNd4viVg2jM6Errtm?p=preview

Is there anything else we should know?

It worked on angular 2.4.5 and material 2.0.0-beta.1
Was broken after upgrading to 4.4.4 and beta.12

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions