Skip to content

bug(menu): options fail to load in some cases #31687

@mmalerba

Description

@mmalerba

Is this a regression?

  • Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was

No response

Description

Originally reported in yaqs/4083686241118191616

I have a nested menus that need to lazily load. Some of those menu options has submenu and som don't. If I move the cursor fast, submenus can't be rendered.

Reproduction

StackBlitz link: https://stackblitz.com/edit/3qshghrq?file=src%2Fexample%2Fmenu-overview-example.html
Steps to reproduce:

  1. Open menu
  2. Move mouse quickly across the options until one of the submenus loads with no options rendered

Expected Behavior

Submenus always have options rendered

Actual Behavior

Submenus do not always have options rendered

Environment

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

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/menu

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions