Skip to content

Menu with matMenuContent breaks hover behaviour #16954

Closed
@Harpush

Description

@Harpush

Reproduction

https://stackblitz.com/edit/angular-nzsa6j?file=app/nested-menu-example.html

Steps to reproduce:

  1. Open the menu and quickly hover on items... more than one item will be styled as hovered while doing so and even after at some scenarios.
    It only happens for menu items with trigger it seems

Expected Behavior

What behavior were you expecting to see?
The hover functionality should work the same as without the matMenuContent

Actual Behavior

What behavior did you actually see?
The hover functionality isn't working as expected and highlighting more than one element (even with slight delay it seems)

Environment

  • Angular: 8.2.4
  • CDK/Material: 8.1.4
  • Browser(s): Chrome
  • Operating System (e.g. Windows, macOS, Ubuntu): Windows

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgent

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions