Skip to content

Menu: Click at the beginning or the end of the disabled menu item does not close the menu #16694

Closed
@RandomNonameDude

Description

@RandomNonameDude

Reproduction

Reproducible right in the documentation in Menu with icons example

Steps to reproduce:

  1. Open a menu with disabled item and click at the edge of such item (green areas in the attached picture)
  2. See that the menu doesn't close

menudisableditemclick

Expected Behavior

When one clicks at the edge of disabled menu item, the menu should close same as it closes when one clicks in the middle of disabled menu item.

Actual Behavior

The menu doesn't close when someone clicks at the edge of disabled menu item

Environment

  • Angular: 8
  • CDK/Material: 8
  • Browser(s): tested on Chrome
  • Operating System (e.g. Windows, macOS, Ubuntu): tested on Win10

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